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

Commit 192256a6 authored by Fan Zhang's avatar Fan Zhang
Browse files

Break out of switch/case after handling launch_emergency.

This is causing strange crashes when launching emergency sos
such as this https://paste.googleplex.com/5437229469007872.

Fix: 173446123
Test: manual
Change-Id: I25a2f89de9072108ce53bf03162e040f6e6b5d95
parent bfdd1a33
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1206,6 +1206,7 @@ public class CommandQueue extends IStatusBar.Stub implements CallbackController<
                    for (int i = 0; i < mCallbacks.size(); i++) {
                        mCallbacks.get(i).onEmergencyActionLaunchGestureDetected();
                    }
                    break;
                case MSG_SHOW_PICTURE_IN_PICTURE_MENU:
                    for (int i = 0; i < mCallbacks.size(); i++) {
                        mCallbacks.get(i).showPictureInPictureMenu();