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

Commit f56ecfff authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "No need to post FGS notifications after process death"

parents ef953a66 cfb47001
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -947,7 +947,7 @@ final class ServiceRecord extends Binder implements ComponentName.WithComponentN
    }

    public void postNotification() {
        if (isForeground && foregroundNoti != null) {
        if (isForeground && foregroundNoti != null && app != null) {
            final int appUid = appInfo.uid;
            final int appPid = app.getPid();
            // Do asynchronous communication with notification manager to