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:
Julia Reynolds
2017-01-23 13:49:24 -05:00
parent 83d577581b
commit 9decd5ab3b

View File

@@ -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);