summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Steve Elliott <steell@google.com> 2025-03-04 11:38:27 -0500
committer Steve Elliott <steell@google.com> 2025-03-04 11:43:29 -0500
commit0822d0345d28fbe95c41b81b632bc4c70e1a4c4e (patch)
treea37def2c8a40dee9605f5ad3180ce31f804caec3 /libs/androidfw/AssetsProvider.cpp
parent3867687f26e4aac0eeb1cbc476c5df8b613436db (diff)
[kairos] Prevent network usage before builder activations
This fixes a potential race condition where kairosNetwork.activateSpec / transact could be invoked before Dagger-registered KairosActivatable are activated. This can cause early access to uninitialized Events + States, which will cause a crash. The solution is to wrap KairosNetwork so that usage of activateSpec / transact internally suspend until the KairosCoreStartable has activated all KairosActivatables. Flag: com.android.systemui.status_bar_mobile_icon_kairos Bug: 383172066 Test: atest Change-Id: Ia302708d64fe61cc2052ac78143a9ce52f1ac960
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions