diff options
| author | 2024-08-17 01:06:11 -0700 | |
|---|---|---|
| committer | 2024-08-23 17:25:43 -0700 | |
| commit | 06e0eb2c31b7eb8975abef69c9146f355dd69b1d (patch) | |
| tree | 75fcfa8a1c686837aa31a2c39127d8afc370e0b3 /libs/androidfw/misc.cpp | |
| parent | 0d12496f444fbe9b826ca83f4aeaac9531166d5f (diff) | |
Share selection state between BaseCommunalViewModel implementations.
CommunalViewModel and the edit variant both separately store selection
information. This leads to ferrying of selection data between the
two models which can get out of sync. This changelist addresses it by
having all BaseCommunalViewModel subclasses share a single selection
flow.
Test: atest CommunalViewModelTest#selectedKey_changeAffectsAllInstances
Test: atest CommunalInteractorTest#settingSelectedKey_flowUpdated
Fixes: 359419762
Flag: EXEMPT bugfix
Change-Id: I0bab6f29016f61f9bc2413f5ac22f5e6a65477ac
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions