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

Commit e8c6f05e authored by Dave Mankoff's avatar Dave Mankoff
Browse files

Remove the OnUserInfoChangedListener implementation from LockIcon.

Evidently this isn't used?

Bug: 150393918
Test: atest SystemUITests && manual
Change-Id: I47524687462bb300351f86a6bc1184ca9613b1c4
parent c0d9a7d8
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -54,7 +54,6 @@ import com.android.systemui.statusbar.policy.AccessibilityController;
import com.android.systemui.statusbar.policy.ConfigurationController;
import com.android.systemui.statusbar.policy.KeyguardStateController;
import com.android.systemui.statusbar.policy.OnHeadsUpChangedListener;
import com.android.systemui.statusbar.policy.UserInfoController.OnUserInfoChangedListener;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@@ -65,7 +64,7 @@ import javax.inject.Named;
/**
 * Manages the different states and animations of the unlock icon.
 */
public class LockIcon extends KeyguardAffordanceView implements OnUserInfoChangedListener,
public class LockIcon extends KeyguardAffordanceView implements
        StatusBarStateController.StateListener, ConfigurationController.ConfigurationListener,
        KeyguardStateController.Callback, NotificationWakeUpCoordinator.WakeUpListener,
        ViewTreeObserver.OnPreDrawListener, OnHeadsUpChangedListener {
@@ -236,11 +235,6 @@ public class LockIcon extends KeyguardAffordanceView implements OnUserInfoChange
        updateDarkTint();
    }

    @Override
    public void onUserInfoChanged(String name, Drawable picture, String userAccount) {
        update();
    }

    /**
     * If we're currently presenting an authentication error message.
     */