Prevent frequent process killing when multiple permissions are revoked at the same time.
When we test CTS case HealthConnectDeviceTest#testToVerifyNoPermissionChangeLog, a large number of health-related permissions will be cyclically revoked in the case, which will cause the handler to accumulate a large number of killUid runnables. If the App process is started immediately, the newly started App will be killed immediately. (cherry picked from https://android-review.googlesource.com/q/commit:d1414eeb897fb9de393028cd083e006e5a0a1457) Bug: 419383294 Flag: EXEMPT bugfix Test: presubmit Merged-In: I0dc59366675f12cb27b6d2e525b757cdae4e109d Change-Id: I0dc59366675f12cb27b6d2e525b757cdae4e109d
Loading
Please register or sign in to comment