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

Commit ef824689 authored by Selim Cinek's avatar Selim Cinek Committed by android-build-team Robot
Browse files

Keeping the lockdown state in sync with the notification list

Whenever the lockdown was changed, the UI wasn't consistently
updated, but only once another notification / update came
in, which lead to notifications being invisisible or visible
when they shouldn't have been.

Change-Id: I17c1b4e0ef58d6aa05f4404e52e07a098d4fce4e
Fixes: 78020486
Test: manual, hit lockdown observe notification gone, coming back when unlocked
(cherry picked from commit ddb7b47d)
parent 96d0c0cf
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -607,6 +607,12 @@ public class StatusBar extends SystemUI implements DemoMode,
                        maybeEscalateHeadsUp();
                    }
                }

                @Override
                public void onStrongAuthStateChanged(int userId) {
                    super.onStrongAuthStateChanged(userId);
                    mEntryManager.updateNotifications();
                }
            };

    private NavigationBarFragment mNavigationBar;