diff options
author | Matthew Fritze <mfritze@google.com> | 2020-10-05 11:29:40 -0700 |
---|---|---|
committer | Matthew Fritze <mfritze@google.com> | 2020-10-15 10:08:04 -0700 |
commit | 5349ee21c19bf386f6fc37886a401eccb22e6ade (patch) | |
tree | b085b1c171647ca77e6d903a0d6910068b1c7d7c /rs/java/android/renderscript/ProgramStore.java | |
parent | a4091c6922a677a8e18bf9feff79e66fde4ce149 (diff) |
Intercept power key events during a panic gesture
While the user completes the panic gesture (5 presses) we should
intercept power key events (presses 3,4,5) to avoid triggering
the lock screen events (<- better descriptor?).
I am proposing that we should continue to intercept the button presses
after the panic flow has triggered because of possibility of hitting the
button more than five times because:
- Device is in their pocket
- User is in distress and shouldn't have time the 5th press
Bug: 170133395
Test: atest GestureLauncherServiceTest
Change-Id: I89619a748c5dc1886f5c27e49780030fcbdb61ad
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions