summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Steve Elliott <steell@google.com> 2022-03-17 16:36:53 -0400
committer Steve Elliott <steell@google.com> 2022-03-18 16:08:31 -0400
commit0b0791615edb53aee93aa585139828a33f423145 (patch)
tree0f7c377b0d35751627b062d937c8513276a5a5be /libs/androidfw/StringPool.cpp
parent40ca086c4003e70760284e5fb3ad6361d8dc3387 (diff)
Fix stale View tracking in ShadeViewDiffer
NSSL can independently re-inflate certain Views (such as section headers) which will cause the View references tracked by ShadeViewDiffer to become stale. This results in odd behavior when SVD compares its tracked Views with the ones in NSSL. The tracking serves as an optimization, so rather than maintain the additional state across pipeline runes, we re-generate the View->Spec lookup map once per run. Fixes: 216150338 Test: 1. Have silent notifications in the shade 2. Change the device theme. 3. Dismiss all notifications 1 by 1 4. Verify Silent Header is no longer visible once no more silent notifications are present. Change-Id: I1e500e2868b6c4825dd6f7cc7e2d8cf61b831773
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions