Fix NPE for devices that don't use a lock icon on the bouncer.
Bug: 130880522 Bug: 131083319 Test: Manual Change-Id: I630f4df96b64a85d3b45fb95b28ed8e33b38ca1c
This commit is contained in:
@@ -693,6 +693,9 @@ public class KeyguardIndicationController implements StateListener {
|
||||
|
||||
@Override
|
||||
public void onKeyguardBouncerChanged(boolean bouncer) {
|
||||
if (mLockIcon == null) {
|
||||
return;
|
||||
}
|
||||
mLockIcon.setBouncerVisible(bouncer);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user