summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorChris Ye <lzye@google.com>2020-05-01 11:36:33 -0700
committerChris Ye <lzye@google.com>2020-05-19 11:34:37 -0700
commitd6d3559b4d5019e308d151319a377446865b323b (patch)
tree26ceba801dd1db68d2daa440366b0a45f8b966f9 /tools/aapt2/java/JavaClassGenerator.cpp
parent7a639dce1b6130f3833103c03727a04266d2f8d5 (diff)
Generate ACTION_CANCEL event when screen turned off by proximity sensor.
When using PROXIMITY_SCREEN_OFF_WAKE_LOCK and screen was turned off by proximity sensor, input service should generate ACTION_CANCEL, same as display turned off by pressing power button. Add power state in display view port and notify input service for display power state change. Bug: 154074380 Test: atest libgui_test Change-Id: Icb65aead4b5544182c46101f4ba535f5955ebd6c Merged-In: Icb65aead4b5544182c46101f4ba535f5955ebd6c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions