Skip to content
Commit 169f362e authored by Arthur Hung's avatar Arthur Hung
Browse files

Support global key can be dispatched from non-interactive

Add adddional element 'dispatchWhenNonInteractive' in global key xml to
allow it could be dispatched from non-interactive mode if the key is a
wake key. That could help user press button to wake device and send the
global button broadcast without pressing the same button twice.

The receiver could use 'GlobalKeyIntent.from(Intent)' to get the
detail global key information from the received Intent.

Bug: 183071267
Test: manual
Change-Id: I4eef4a5fd92baece995fa7ddf535f0791923f694
Merged-In: I4eef4a5fd92baece995fa7ddf535f0791923f694
parent 208f294d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment