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-06-04 19:26:31 +0000
commit4ffcd158428429b021509c4b87265f58f2c96e4d (patch)
treeb3de5d87af68338bb37baeb97c1e1cf663e6c4a7 /libs/androidfw/StringPool.cpp
parent7e18f31b776789f1408d589e11e415070eb3dc42 (diff)
Add async register/unregister APIs in Settings/UserSettingsProxy.
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: I6f50a78b404a97d81403eb1dfe79fec09c6a965f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions