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

Commit 03a25bd2 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Fix crashes in background check.

Stupid NPE.

Change-Id: I4df47f996dbf51e568a9e5dab4443b7d7c02774c
parent 98edbe3e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1244,7 +1244,7 @@ public final class ActiveServices {
                                sInfo.applicationInfo.uid, sInfo.packageName, callingPid);
                        if (allowed != ActivityManager.APP_START_MODE_NORMAL) {
                            Slog.w(TAG, "Background execution not allowed: service "
                                    + r.intent + " to " + name.flattenToShortString()
                                    + service + " to " + name.flattenToShortString()
                                    + " from pid=" + callingPid + " uid=" + callingUid
                                    + " pkg=" + callingPackage);
                            return null;