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

Commit 037a5007 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Fix issue where brightness mirror listener wouldn't be released

Change-Id: I4f0bd83ad6f5915145f59e47fb899dfee8cb2d77
Fixes: 70388511
Bug: 70296214
Test: Unlock from pulsing with fingerprint, then adjust brightness
parent 8635c449
Loading
Loading
Loading
Loading
+4 −8
Original line number Diff line number Diff line
@@ -4136,14 +4136,10 @@ public class StatusBar extends SystemUI implements DemoMode,
                .setStartDelay(0)
                .setDuration(FADE_KEYGUARD_DURATION_PULSING)
                .setInterpolator(ScrimController.KEYGUARD_FADE_OUT_INTERPOLATOR)
                .setListener(new AnimatorListenerAdapter() {
                    @Override
                    public void onAnimationEnd(Animator animation) {
                .withEndAction(()-> {
                    hideKeyguard();
                    mStatusBarKeyguardViewManager.onKeyguardFadedAway();
                    }
                })
                .start();
                }).start();
    }

    /**