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:48 +0100
committerRyan Mitchell <rtmitchell@google.com>2020-12-28 13:10:54 -0800
commitf4312ccb5e0f008b8df0f353fb9583638df418ae (patch)
tree57205067cc6de8e618a5a45d6582717908a98ee5 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentecae429892a3d9c361407ba80beb90de22ab2ee0 (diff)
OMS: replace OMSImpl.OverlayChangeListener with return values
Remove the listener callback triggered when the OMS settings have changed. Teach the OMSImpl methods to return the equivalent information instead: an Optional<T> of the target package and Android user who's overlays need to be refreshed, or an exception in case of error. This is the first step towards an OMS transactional API, where multiple requests can be batched together and the outcome is either that all operations succeed, or some operation fails and (to the outside system) nothing happens. Replacing callbacks with explicit return values allow the caller more control of what data is exposed to the rest of Android. Bug: 119916381 Test: atest FrameworksServicesTests:com.android.server.om OverlayDeviceTests OverlayHostTests CtsAppSecurityHostTestCases:OverlayHostTest Change-Id: If58d5e9ddeec649e708224bb29efcc38ebe51bf7
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions