diff options
| author | 2022-10-26 16:04:08 -0400 | |
|---|---|---|
| committer | 2022-11-01 11:32:23 -0400 | |
| commit | 93b945ce54f1e61d75e3cf9cef4a4083f03c5e24 (patch) | |
| tree | 5f6c977acbb027be6992b9102c1e2da52c1b9367 /libs/androidfw/ResourceTimer.cpp | |
| parent | be25e8f1f407df340636259f6d22496638e8b507 (diff) | |
[SB refactor] Upgrade most data sources to `StateFlow`
Most of the data model for mobile is more correctly represented as a
StateFlow, since the state from callbacks needs to persist even when
there is no corrent collector on the mobile icon.
This change also exposes a current issue: toggling mobile data on/off
multiple times can introduce an inconsistency in the UI. This is
approximately the same as the old pipeline, which also experiences the
same problem.
Test: manual
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/*
Bug: 240492102
Change-Id: Idd5fa0205380b4ba15f7d723b32b08e114456f7f
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions