diff options
author | Adrian Roos <roosa@google.com> | 2017-08-04 12:35:24 +0200 |
---|---|---|
committer | Adrian Roos <roosa@google.com> | 2017-08-04 13:17:44 +0200 |
commit | b1f77247c25dd74aaeb235226758c3b5d72f863f (patch) | |
tree | 0e6001fbc151b18f84b67a0859cce1eb740c6279 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 61ad5ae921d75d0f72e8477ce224a1f7562ae81d (diff) |
AsyncSensorManager: Fix unregistration bug
Fixes an issue where unregistering a listener without specifying a sensor did
not work correctly; when passing null as the sensor, SensorManager.unregisterListener
silently ignores the call; instead, we now call the proper variant if given a null
sensor.
Change-Id: Iac362d8d6ae966308578cb4f177bd37af10b81a2
Fixes: 64357270
Test: runtest -x $T/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/AsyncSensorManagerTest.java
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions