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

Commit b356cf32 authored by Erik Wolsheimer's avatar Erik Wolsheimer Committed by android-build-merger
Browse files

Add missing null check to AppErrors#handleAppCrashLocked am: dc74142c

am: 0810302b

Change-Id: Icc7bcdc1916636d298c2b1f3550a4069af61944d
parents 17378765 0810302b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -638,7 +638,8 @@ class AppErrors {

            // Allow restarting for started or bound foreground services that are crashing the
            // first time. This includes wallpapers.
            if (sr.crashCount <= 1 && (sr.isForeground || procIsBoundForeground)) {
            if ((data != null) && (sr.crashCount <= 1)
                    && (sr.isForeground || procIsBoundForeground)) {
                data.isRestartableForService = true;
            }
        }