summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2017-08-04 12:35:24 +0200
committerAdrian Roos <roosa@google.com>2017-08-04 13:17:44 +0200
commitb1f77247c25dd74aaeb235226758c3b5d72f863f (patch)
tree0e6001fbc151b18f84b67a0859cce1eb740c6279 /tools/aapt2/java/JavaClassGenerator.cpp
parent61ad5ae921d75d0f72e8477ce224a1f7562ae81d (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