Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d688bb02 authored by Ioana Alexandru's avatar Ioana Alexandru
Browse files

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
parent ef54218e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment