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

Commit 619655a9 authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Add null check

Test: atest ActivityMetricsLoggerTests / add new user
Fixes: 135242613
Change-Id: I6889c23f3671d5deb24b803f72495612c6d6c8d1
parent e1f57593
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -912,7 +912,7 @@ final class ServiceRecord extends Binder implements ComponentName.WithComponentN
        final String localPackageName = packageName;
        final int localForegroundId = foregroundId;
        final int appUid = appInfo.uid;
        final int appPid = app.pid;
        final int appPid = app != null ? app.pid : 0;
        ams.mHandler.post(new Runnable() {
            public void run() {
                NotificationManagerInternal nm = LocalServices.getService(