diff options
| author | 2024-04-03 17:35:01 +0200 | |
|---|---|---|
| committer | 2024-04-04 16:52:20 +0200 | |
| commit | d688bb02c678afbadabd8fd8ed9a548e171e8445 (patch) | |
| tree | b81bcb25b2f754e9d442e42a4c290994b84a2277 /libs/androidfw/StringPool.cpp | |
| parent | ef54218e380cef85f62bb012a78ce861724afde3 (diff) | |
Properly hide footer buttons when label visible
Previously, this was handled in FooterView#setFooterLabelVisible
directly. Pre-footer refactor, every time the footer was updated
(including button visibility), setFooterLabelVisible would be called at
the end and essentially override button visibilities if needed. In the
new code, button visibility would be updated independently, which could
lead to buttons showing up over the label.
Instead, we should model this in the FooterViewModel and make sure the
buttons are never visible when the label is visible.
Fix: 332438711
Test: FooterViewModelTest + manual check that clear all button doesn't
appear on tangor over "unlock to see notifications" text
Flag: ACONFIG com.android.systemui.notifications_footer_view_refactor TEAMFOOD
Change-Id: I78c2db21b3d1b7dd0301065f61b85186c214d4d8
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions