Add 6 more fields to ForegroundServiceStateChanged

Bug: 276963716
Test: Build
Change-Id: I53bc79fd5490d33756a58708b65c65e0475d5050
This commit is contained in:
Makoto Onuki
2023-07-12 13:05:17 -07:00
parent 62adc5ad67
commit adea009d86
2 changed files with 21 additions and 3 deletions

View File

@@ -8166,7 +8166,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) {

View File

@@ -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);
}
/**