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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user