Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporting TYPE_ALL in ShadowSensorManager.getSensorList() #8566

Closed
wants to merge 0 commits into from

Conversation

copybara-service[bot]
Copy link

Supporting TYPE_ALL in ShadowSensorManager.getSensorList()

Before this change, you needed to pass in one specific sensor type to get back the corresponding Sensor object inside a List. Unless you created a ShadowSensor with TYPE_ALL, the map wouldn't find anything keyed by TYPE_ALL (integer value of -1) and it would return an empty list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants