summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Ioana Alexandru <aioana@google.com> 2024-01-25 12:08:15 +0100
committer Ioana Alexandru <aioana@google.com> 2024-01-25 15:07:24 +0100
commit74670ea147f6e9bdc31c66e67027b95581ce1016 (patch)
tree9f47792df5e53f47eea2c1ae7c97971e584e8134 /libs/hwui/FrameInfoVisualizer.cpp
parent39255ff49ea8c2980faea56b355db7c376dfcdb9 (diff)
Update a11y importance together with notifStats.
The a11y importance was being updated in NSSL#addContainerView and removeContainerView, but it uses the value from notifStats, which in turn is updated in onAfterRenderList (which gets called AFTER addContainerView & co.). As such, the updateImportantForAccessibility call was using a stale value for numActiveNotifications. Similarly, there's no point in calling updateFooter/updateShowEmptyShadeView in addContainerView & removeContainerView since we're also (correctly) calling them in setNotifStats. Fix: 318021249 Test: enable talkback and verify that there's no unlabelled view when there are no notifs on the lockscreen Flag: NONE Change-Id: I1d4c4f64ee3b32c8b80c347ec30b1d588e818116
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions