diff options
| author | 2024-11-07 16:50:25 -0800 | |
|---|---|---|
| committer | 2024-11-14 16:42:11 -0800 | |
| commit | f33c358436e874fa39113ef1a8846221454b06f4 (patch) | |
| tree | 24710dbbbf1d568e261d1a6554d35f0368147358 /libs/androidfw/FileStream.cpp | |
| 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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions