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

Skip to content
Commit f420762d authored by Matt Pietal's avatar Matt Pietal
Browse files

Replace SharedFlow with StateFlow to fix notif height

When redacted notifications become visible by face unlock,
a flurry of change events are sent. The MutableSharedFlow
that was processing these events became overloaded and
it was dropping events necessary to process the change.
This resulted in the notifications overlapping the lock
icon.

Use a StateFlow for better performance and to prevent
dropped updates.

Fixes: 338602791
Test: atest SharedNotificationInteractorTest
Test: manual - race condition with redacted notifications,
unlock many times with face on keyguard
Flag: ACONFIG com.android.systemui.migrate_clocks_to_blueprint
TEAMFOOD

Change-Id: I3190881b81f68dc1e88b927ce62e64a9d7e12a6b
parent f57b481f
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