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:
Brad Stenning
2019-04-22 09:30:20 -07:00
parent f4496e18e0
commit 8fcd8b4f8a

View File

@@ -693,6 +693,9 @@ public class KeyguardIndicationController implements StateListener {
@Override
public void onKeyguardBouncerChanged(boolean bouncer) {
if (mLockIcon == null) {
return;
}
mLockIcon.setBouncerVisible(bouncer);
}
};