diff options
author | Charles Chen <charlesccchen@google.com> | 2018-09-18 20:19:23 +0800 |
---|---|---|
committer | Charles Chen <charlesccchen@google.com> | 2018-11-09 17:33:12 +0800 |
commit | 0c9e5fe0048c5c4440c413d9df15a48a935c5d70 (patch) | |
tree | bf95b81aefbfb057f5dbc688d86afcff812e9b4e /rs/java/android/renderscript/ScriptIntrinsicBLAS.java | |
parent | bc4afc4f6076eadff2eaa2a48ee2954556d2fd21 (diff) |
Support multi-display for KEYCODE_HOME event
Thanks Wale for this super clever temp solution. (^_^)
Introduce DisplayHomeButtonHandler to make flags handled per display.
The changes are:
- Extend DoubleTapHomeTimeoutRunnable to DisplayHomeButtonHandler
- Move mHomePressed, mHomeConsumed, mHomeDoubleTapPedding into DisplayHomeButtonHandler to be its members
- Move home handling logic to handleHomeButton, which is a method in DisplayHomeButtonHandler
- Add a displayId - handler map to handle home keys per display
Bug: 115978725
Test: atest com.android.server.policy
Test: Manual - Press home on secondary display and verify if home
activity launched on secondary display
Change-Id: Ie7b4c72c8f9ff46b20b0a94cf6c36ba7db777128
Diffstat (limited to 'rs/java/android/renderscript/ScriptIntrinsicBLAS.java')
0 files changed, 0 insertions, 0 deletions