Merge "Restore foreground service notifications"

This commit is contained in:
TreeHugger Robot
2017-01-23 20:58:49 +00:00
committed by Android (Google) Code Review

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