Increase priority for broadcast intent triggered by HW key am: 469e65e37f
am: ab8a42f7d9
Change-Id: I3891fcfb79919bbf17b937aa8f645cb45d798ce9
This commit is contained in:
@@ -150,6 +150,7 @@ public class PhoneFallbackEventHandler implements FallbackEventHandler {
|
||||
sendCloseSystemWindows();
|
||||
// Broadcast an intent that the Camera button was longpressed
|
||||
Intent intent = new Intent(Intent.ACTION_CAMERA_BUTTON, null);
|
||||
intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND);
|
||||
intent.putExtra(Intent.EXTRA_KEY_EVENT, event);
|
||||
mContext.sendOrderedBroadcastAsUser(intent, UserHandle.CURRENT_OR_SELF,
|
||||
null, null, null, 0, null, null);
|
||||
|
||||
Reference in New Issue
Block a user