commit | 796fbbbcbbf9b9830a3c1307978787cfe20d7f9f | [log] [tgz] |
---|---|---|
author | Chris Ye <lzye@google.com> | Sat Apr 25 10:58:45 2020 -0700 |
committer | Chris Ye <lzye@google.com> | Tue May 19 11:36:14 2020 -0700 |
tree | 96ba729115138cad9c7e4c0653de0abd91f1ded1 | |
parent | c30ebd0188e8c43bdfc59cc87a2a9da8f0caa4ab [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. Bug: 154074380 Test: atest libgui_test Change-Id: I72a10c98adad4a236dbd445cefe5f37c4ec3fd81 Merged-In: I72a10c98adad4a236dbd445cefe5f37c4ec3fd81