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

Commit a6be7c3d authored by wilsonshih's avatar wilsonshih Committed by android-build-merger
Browse files

Prevent system server crash while start activity failed.

am: 380626cf

Change-Id: Ia94e84cbfbf3737cd9bd5d78a8c4c131a82a20e6
parents a240c312 380626cf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -415,7 +415,7 @@ public class ActivityStackSupervisor implements RecentTasks.Callbacks {

        void sendErrorResult(String message) {
            try {
                if (callerApp.hasThread()) {
                if (callerApp != null && callerApp.hasThread()) {
                    callerApp.getThread().scheduleCrash(message);
                }
            } catch (RemoteException e) {