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

Skip to content
Commit bed0dd5e authored by Kevin Han's avatar Kevin Han
Browse files

Don't hold hibernation lock when calling other services

Fix deadlock issues by ensuring that calls to activity manager and
package manager are done without holding the hibernation lock.

This will loosen some guarantees on the hibernation state (e.g. there
may be a brief period of time where an app is hibernated but not
force-stopped), but none of the callers currently need that strong
guarantee.

Bug: 196535754
Test: atest AppHibernationIntegrationTest
Test: atest AppHibernationServiceTest
Test: adb shell cmd jobscheduler run -u 0 -f
com.google.android.permissioncontroller 2

Change-Id: Ic67d9a93565a935c077707e3c34a4c6605f041d1
(cherry picked from commit d41db181)
parent b7f37cd7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment