summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2017-08-02 20:50:16 +0200
committerAdrian Roos <roosa@google.com>2017-08-02 20:50:16 +0200
commit98d3198b5ced6b371067d0ff6166aaffff1dd512 (patch)
tree4a05c97b6321351c64bff2a64fe18cff5fcdeceb /tools/aapt2/java/JavaClassGenerator.cpp
parent273bb516ad875048bb14eb4f3f598c295c44991a (diff)
AOD: Unregister touchscreen sensors while pulsing
While we're pulsing, the touch screen is fully on. Keeping touchscreen sensors registered can lead to the sensorhub and kernel touch driver racing on who gets to control the touchscreen; the losing party may also logspam and consume increased power. To avoid this, we unregister touchscreen sensors when turning the screen on. Change-Id: Ie236d0a40c92d7fc544bd34ff883e613915c8e46 Fixes: 64160164 Test: receive notification; adb shell dumpsys sensorservice, verify double tap sensor is not registered; verify it is again registered after swiping away the notification.
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions