commit | f33c358436e874fa39113ef1a8846221454b06f4 | [log] [tgz] |
---|---|---|
author | Peter Kalauskas <peskal@google.com> | Thu Nov 07 16:50:25 2024 -0800 |
committer | Peter Kalauskas <peskal@google.com> | Thu Nov 14 16:42:11 2024 -0800 |
tree | 24710dbbbf1d568e261d1a6554d35f0368147358 | |
parent | 580a71bc9a40159921bb6e9d5658f36ff9891168 [diff] |
Cache CoroutineScope for settings APIs Instead of creating a new CoroutineScope each time a settings API is called, create one scope and reuse it whenever possible. Test: m SystemUIGoogle, atest SettingsProxyTest UserSettingsProxyTest Bug: 330299944 Flag: NONE new async APIs and existing APIs kept unmodified. Change-Id: I4b660cdcb49e1c618c94b1d6b2cbbf84c4b60dd4