Increase priority for broadcast intent triggered by HW key am: 469e65e37f am: ab8a42f7d9
am: 9820efd269
Change-Id: Ieac8e81f363dcfc1684ee82771c90a6c704f8ee3
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