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

Commit 6492a9dd authored by Matt Pietal's avatar Matt Pietal
Browse files

Use flatMap to ensure NSSL alpha becomes 1f when GONE

When transitioning to OCCLUDED/GONE states, also listen for
statusBarState == SHADE, and when both conditions are met,
emit the shade alpha, which will be 1f. This ensures
HUNs will appear all of the time. Otherwise, let normal
transitions determine alpha.

Fixes: 357316448
Test: atest SharedNotificationContainerViewModelTest
Flag: com.android.systemui.migrate_clocks_to_blueprint
Change-Id: I372f5d19cbd1074a2bf29b35afee9f23b50c466c
parent 781e3ec8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment