diff options
author | Andrei Stingaceanu <stg@google.com> | 2016-04-14 18:11:57 +0100 |
---|---|---|
committer | Andrei Stingaceanu <stg@google.com> | 2016-04-22 16:57:25 +0100 |
commit | 0bf096f1b45959e260b09b2483e79187c1991f54 (patch) | |
tree | 0cdb5130ea5e4ab200f8396a749cabf8267af9dc /rs/java/android/renderscript/ScriptGroup.java | |
parent | 49425d612cee3864a316e9ecb6ec3faeae519b1e (diff) |
Keyboard shortcuts: dismiss when activities start via shortcut
* introduced a new intent DISMISS_KEYBOARD_SHORTCUTS and
and new public API in Activity (which sends a broadcast
to KeyboardShortcutsReceiver) which applications can
use to dismiss the keyboard shortcuts.
* plumbing and implementation for a new call to dismiss
keyboard shortcuts from PhoneWindowManager and used it:
** when starting activities invoked via Search+key
** when starting activities invoked via META
** when starting activities via application launch keys
* removed unused variable in
Activity#onProvideKeyboardShortcuts
Note that for apps started via touch (aka non-shortcut)
like tapping the Settings gear icon from the notification
bar the menu is not automatically dismissed.
Bug: 28012198
Change-Id: I83a8d4f342bb8a08115a648648834d0d2bac19fd
Diffstat (limited to 'rs/java/android/renderscript/ScriptGroup.java')
0 files changed, 0 insertions, 0 deletions