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

Commit cb8e60d9 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 am: ab8a42f7

am: 9820efd2

Change-Id: Ieac8e81f363dcfc1684ee82771c90a6c704f8ee3
parents 65a80f1a 9820efd2
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);