summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Devarshi Bhatt <devarshimb@google.com> 2024-05-31 07:57:37 +0000
committer Devarshi Bhatt <devarshimb@google.com> 2024-07-03 07:37:54 +0000
commit34329106824e9e66b58b80821e8d6f5279a3f77b (patch)
treef3b6ddd288834bb8e426f475294444551939075f /libs/androidfw/StringPool.cpp
parent3a26daa11d61240f1bab41bf072b6d8fc2dc9f68 (diff)
Add async registerCO API in SettingsProxy.
Add new suspend API for kotlin and a Java API launching a new coroutine for each existing register/unregister ContentObserver API in SettingsProxy and UserSettingsProxy. Added a new API in the SettingsProxy interface that provides the dispatcher to be used while calling the above async methods. Each individual implementation can decide which dispatcher to use based on the injected parameter. Test: make SystemUIGoogle, atest SettingsProxyTest, atest UserSettingsProxyTest Bug: 330299944 Flag: NONE new async APIs and existing APIs kept unmodified. Change-Id: Ia6e0f0e20a9eee314c8e00138c94a73702a62c3e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions