diff options
| author | 2022-10-23 00:10:31 +0800 | |
|---|---|---|
| committer | 2022-10-24 21:27:12 +0800 | |
| commit | 00ea7991f53818228fb80d5971e6718c056e200a (patch) | |
| tree | 60b107d2428e3a4a9fe835a0605589e7ba2b3e54 /libs/androidfw/StringPool.cpp | |
| parent | c84d661e07b48ad70297d03e74b9657793472484 (diff) | |
Add OverridableFlow for Spa
One typical use case is that when a switch state comes from a flow, and
the user toggle the switch to change the value, we can modify the flow
to show the latest state.
Also temporary copy the FlowExt from AndroidX lifecycle, to use the
collectAsStateWithLifecycle(), so we can show the latest data from flow
when each on start lifecycle event.
Bug: 236346018
Test: Unit test
Change-Id: Ib34ae9c5ce0b9122d11032aeed173033df5cc2d1
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions