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

Commit 1e4737a8 authored by Chris Tate's avatar Chris Tate Committed by Automerger Merge Worker
Browse files

Merge "No need to post FGS notifications after process death" into sc-qpr1-dev am: 2ce4cf79

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15888242

Change-Id: I434730340cc08e969acf068c4e308098c9223b33
parents f55446d2 2ce4cf79
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -927,9 +927,9 @@ final class ServiceRecord extends Binder implements ComponentName.WithComponentN
    }

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