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

Commit 12a34b05 authored by Lucas Dupin's avatar Lucas Dupin Committed by android-build-merger
Browse files

Merge "Check for lock icon nullability" into qt-dev

am: e0bbf0e3

Change-Id: I62c349e5cec1b9361fe174aa1fae3fbe3b2d2aed
parents af14dc08 e0bbf0e3
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -262,23 +262,29 @@ public class StatusBarWindowView extends FrameLayout {
     * Propagate {@link StatusBar} pulsing state.
     */
    public void setPulsing(boolean pulsing) {
        if (mLockIcon != null) {
            mLockIcon.setPulsing(pulsing);
        }
    }

    /**
     * Called when the biometric authentication mode changes.
     * @param wakeAndUnlock If the type is {@link BiometricUnlockController#isWakeAndUnlock()}
     */
    public void onBiometricAuthModeChanged(boolean wakeAndUnlock) {
        if (mLockIcon != null) {
            mLockIcon.onBiometricAuthModeChanged(wakeAndUnlock);
        }
    }

    /**
     * Called after finished unlocking and the status bar window is already collapsed.
     */
    public void onKeyguardFadedAway() {
        if (mLockIcon != null) {
            mLockIcon.onKeyguardFadedAway();
        }
    }

    public void setStatusBarView(PhoneStatusBarView statusBarView) {
        mStatusBarView = statusBarView;