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

Commit 6672d870 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: I319b4dc393c6e00744df2a90445be54c3b7e7338
parents 48aeaefd 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) {