Merge "Add 6 more fields to ForegroundServiceStateChanged" into udc-qpr-dev am: 6ff0eddd66 am: 55d63280fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/24043331 Change-Id: I03c7de35df4c5ed6823e8a0c2b32e51bfd6957b8 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -8169,7 +8169,13 @@ public final class ActiveServices {
|
||||
mAm.getUidStateLocked(r.mRecentCallingUid),
|
||||
mAm.getUidProcessCapabilityLocked(r.mRecentCallingUid),
|
||||
0,
|
||||
0);
|
||||
0,
|
||||
r.mAllowWhileInUsePermissionInFgsReasonNoBinding,
|
||||
r.mAllowWIUInBindService,
|
||||
r.mAllowWIUByBindings,
|
||||
r.mAllowStartForegroundNoBinding,
|
||||
r.mAllowStartInBindService,
|
||||
r.mAllowStartByBindings);
|
||||
|
||||
int event = 0;
|
||||
if (state == FOREGROUND_SERVICE_STATE_CHANGED__STATE__ENTER) {
|
||||
|
||||
@@ -506,7 +506,13 @@ public class ForegroundServiceTypeLoggerModule {
|
||||
ActivityManager.PROCESS_STATE_UNKNOWN,
|
||||
ActivityManager.PROCESS_CAPABILITY_NONE,
|
||||
apiDurationBeforeFgsStart,
|
||||
apiDurationAfterFgsEnd);
|
||||
apiDurationAfterFgsEnd,
|
||||
r.mAllowWhileInUsePermissionInFgsReasonNoBinding,
|
||||
r.mAllowWIUInBindService,
|
||||
r.mAllowWIUByBindings,
|
||||
r.mAllowStartForegroundNoBinding,
|
||||
r.mAllowStartInBindService,
|
||||
r.mAllowStartByBindings);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -557,7 +563,13 @@ public class ForegroundServiceTypeLoggerModule {
|
||||
ActivityManager.PROCESS_STATE_UNKNOWN,
|
||||
ActivityManager.PROCESS_CAPABILITY_NONE,
|
||||
0,
|
||||
apiDurationAfterFgsEnd);
|
||||
apiDurationAfterFgsEnd,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user