diff options
author | Kevin Han <kevhan@google.com> | 2021-04-08 13:59:46 -0700 |
---|---|---|
committer | Kevin Han <kevhan@google.com> | 2021-04-20 21:45:53 -0700 |
commit | bb66a82f151b46a7dff0e9c8eff339b6602c79dd (patch) | |
tree | 93fc82ff40f1ecea678748c80f8541e5aa85b1ea /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | d560996d0fc45d685f89d0e9deb0fd84f13c7509 (diff) |
Unhibernate apps on boot that are not force-stopped
Hibernation disk state can be stale and lead to getting inconsistent
hibernation states with force-stop. We resolve this by checking the
hibernation state against force-stop and unhibernating if the app is not
force-stopped but hibernating.
Similarly, if we unlock a user and determine that a package is not
hibernating for that user but the package is globally hibernating, we
globally unhibernate the package.
Bug: 185511307
Test: atest AppHibernationServiceTest
Change-Id: I574c69c60cbe388d937a7f59695f757ed8d08f5f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions