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

Commit 4c2600ab 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: If5e3f1b6d178e84017d367666a8dbcee7bb4e5bf
parents 2db791f6 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) {