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

Commit b8c81408 authored by Wei Sheng Shih's avatar Wei Sheng Shih Committed by Android (Google) Code Review
Browse files

Merge "Prevent system server crash while start activity failed."

parents 6ee40f77 0c0fb22e
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) {