Merge "Missed one DENIED event in ForegroundServiceStateChanged log." into sc-dev am: f3860569fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14823348 Change-Id: I1a8b2458416f74755c27af2ed0cfddc109236705
This commit is contained in:
@@ -684,6 +684,9 @@ public final class ActiveServices {
|
||||
+ r.shortInstanceName;
|
||||
Slog.w(TAG, msg);
|
||||
showFgsBgRestrictedNotificationLocked(r);
|
||||
logFGSStateChangeLocked(r,
|
||||
FrameworkStatsLog.FOREGROUND_SERVICE_STATE_CHANGED__STATE__DENIED,
|
||||
0);
|
||||
if (CompatChanges.isChangeEnabled(FGS_START_EXCEPTION_CHANGE_ID, callingUid)) {
|
||||
throw new ForegroundServiceStartNotAllowedException(msg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user