diff options
author | Justin Koh <justinkoh@google.com> | 2014-10-09 20:49:02 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-10-09 20:49:03 +0000 |
commit | 1840bfee70ac85026072222cabe77709d849d7c7 (patch) | |
tree | b7d2a799933ce5c635c629c83a1872605efc1b89 /policy/src | |
parent | f23e3ea629f29060f34ea10a0d89c6ec22766789 (diff) | |
parent | b0b823f71b1ef1a50c97a60571bd99acd6c5ddda (diff) | |
download | frameworks_base-1840bfee70ac85026072222cabe77709d849d7c7.zip frameworks_base-1840bfee70ac85026072222cabe77709d849d7c7.tar.gz frameworks_base-1840bfee70ac85026072222cabe77709d849d7c7.tar.bz2 |
Merge "Make GlobalKeyManager broadcasts send as foreground" into lmp-sprout-dev
Diffstat (limited to 'policy/src')
-rw-r--r-- | policy/src/com/android/internal/policy/impl/GlobalKeyManager.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/policy/src/com/android/internal/policy/impl/GlobalKeyManager.java b/policy/src/com/android/internal/policy/impl/GlobalKeyManager.java index 8c8209f..fc65793 100644 --- a/policy/src/com/android/internal/policy/impl/GlobalKeyManager.java +++ b/policy/src/com/android/internal/policy/impl/GlobalKeyManager.java @@ -73,6 +73,7 @@ final class GlobalKeyManager { if (component != null) { Intent intent = new Intent(Intent.ACTION_GLOBAL_BUTTON) .setComponent(component) + .setFlags(Intent.FLAG_RECEIVER_FOREGROUND) .putExtra(Intent.EXTRA_KEY_EVENT, event); context.sendBroadcastAsUser(intent, UserHandle.CURRENT, null); return true; |