Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab8a42f7 authored by Hidenari Koshimae's avatar Hidenari Koshimae Committed by android-build-merger
Browse files

Increase priority for broadcast intent triggered by HW key

am: 469e65e3

Change-Id: I7b2aec06b7d2d0375b2f680e7880ca401684cddd
parents 5965dbd3 469e65e3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);