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
This commit is contained in:
Fan Zhang
2020-11-16 14:13:26 -08:00
parent bfdd1a33dd
commit 192256a630

View File

@@ -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();