diff options
author | Arthur Hung <arthurhung@google.com> | 2021-07-26 15:48:42 +0800 |
---|---|---|
committer | Arthur Hung <arthurhung@google.com> | 2021-07-27 02:14:46 +0000 |
commit | 5fceebd59759d3dfe7b19f479f91167621bf7c4e (patch) | |
tree | f79ce580e8944ebde407dd0f37b7af536d1f26e8 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions