summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorMÃ¥rten Kongstad <marten.kongstad@volvocars.com>2020-02-14 15:49:51 +0100
committerRyan Mitchell <rtmitchell@google.com>2020-12-28 13:11:05 -0800
commit038b24eb67d0416869bd0130af9bdce8d0ba3f6e (patch)
tree9f214d62438d0ab5bc280000adafd2575e5f4b5a /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentf4312ccb5e0f008b8df0f353fb9583638df418ae (diff)
OMS: block until settings are persisted
Do not schedule a job to write the OMS settings file on a background thread any more. Instead, wait for the file to be written before returning. This is a step towards a transactional OMS API, where it is vital that the file is always up-to-date in case a transaction fails and the in-memory settings need to be rolled back. Also: move the PackageReceiver off the main thread to prevent blocking the main thread. (AIDL calls are already processed on one of the binder pool threads; UserReceiver is kept on the main thread.) Bug: 119916381 Test: atest FrameworksServicesTests:com.android.server.om OverlayDeviceTests OverlayHostTests CtsAppSecurityHostTestCases:OverlayHostTest Change-Id: I2452f789af1353fdde729bdc841b3417a2048e99
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions