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

Commit 9decd5ab authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Restore foreground service notifications

Fixes: 34582788
Test: manual; start a foreground service) and verify notification
appears (here, set an alarm in Clock app)

Change-Id: Ib788cc78c461d2da32ea9abdb11ab384d1d09dd2
parent 83d57758
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -707,7 +707,7 @@ public final class ActiveServices {
        try {
            ServiceRecord r = findServiceLocked(className, token, userId);
            if (r != null) {
                setServiceForegroundInnerLocked(r, userId, notification, flags);
                setServiceForegroundInnerLocked(r, id, notification, flags);
            }
        } finally {
            Binder.restoreCallingIdentity(origId);