summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorKevin Han <kevhan@google.com>2021-09-02 23:42:05 -0700
committerKevin Han <kevhan@google.com>2022-01-06 00:18:51 +0000
commitbed0dd5e7254c686c12f1a963a4fdaebf0da7817 (patch)
tree6e5d88a914736c48851d5162c7e1699b09c11db0 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentb7f37cd7974704355458357161fc87d8019a51d9 (diff)
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 d41db18129f4119218c6eda21a7d51c0313b18c1)
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions