commit | 13b168530aa388867bb0b674279eab1ce3512e83 | [log] [tgz] |
---|---|---|
author | Chris Ye <lzye@google.com> | Sat Apr 25 10:58:45 2020 -0700 |
committer | Chris Ye <lzye@google.com> | Thu May 07 11:54:23 2020 -0700 |
tree | 96cbacbda2cf0fbdd10a268e87ab438cfca83eb4 | |
parent | 860c01dcc1a6f2cbe88b64cf8b82c6b7f815a986 [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