diff options
author | MÃ¥rten Kongstad <marten.kongstad@volvocars.com> | 2020-02-14 15:49:51 +0100 |
---|---|---|
committer | Ryan Mitchell <rtmitchell@google.com> | 2020-12-28 13:11:05 -0800 |
commit | 038b24eb67d0416869bd0130af9bdce8d0ba3f6e (patch) | |
tree | 9f214d62438d0ab5bc280000adafd2575e5f4b5a /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | f4312ccb5e0f008b8df0f353fb9583638df418ae (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 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions