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

Commit e1651c5d authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Polish dynamic privacy wake-up

Fixes: 132828641
Test: power button multiple time with dynamic privacy
Change-Id: Ibf257eb0bd11d6fec9ec46d297d60d70265f6a66
parent 4060eeac
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -3081,6 +3081,11 @@ public class NotificationPanelView extends PanelView implements

    @Override
    public void onDynamicPrivacyChanged() {
        // Do not request animation when pulsing or waking up, otherwise the clock wiill be out
        // of sync with the notification panel.
        if (mLinearDarkAmount != 0) {
            return;
        }
        mAnimateNextPositionUpdate = true;
    }