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
Loading
Please register or sign in to comment