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

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

Prevent system server crash while start activity failed. am: 380626cf

am: a6be7c3d

Change-Id: I64609a61698ae916bca86780b7ce3be4c5cb03b4
parents 8f8fbdd9 a6be7c3d
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) {