Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e1505e46 authored by 张倞诚's avatar 张倞诚 Committed by Hai Zhang
Browse files

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
parent f0f805b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment