commit | 5fceebd59759d3dfe7b19f479f91167621bf7c4e | [log] [tgz] |
---|---|---|
author | Arthur Hung <arthurhung@google.com> | Mon Jul 26 15:48:42 2021 +0800 |
committer | Arthur Hung <arthurhung@google.com> | Tue Jul 27 02:14:46 2021 +0000 |
tree | f79ce580e8944ebde407dd0f37b7af536d1f26e8 | |
parent | 8e31f85e02581496dc680f39ca8d401220d06987 [diff] |
Keeps power key intercepted during a panic gesture The GestureLauncherService is used to detect camera and sos emergency gesture by multi-pressing power, if it intercept power key, we should return the intercept state that could prevent the following detector processing the power key cause unexpected single tap. Bug: 194522413 Test: keep pressing power to see if screen would turn off. Test: atest GestureLauncherServiceTest Change-Id: I3db7390df720f24f9b312946b1d8e01d672e6ef3