commit | 773dec5995c0e884f6f6c5bb2e9b1cbb0291518b | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Tue Feb 02 16:37:34 2021 -0800 |
committer | Sunny Goyal <sunnygoyal@google.com> | Wed Feb 03 00:40:08 2021 +0000 |
tree | 3afaf1b99f68bbaad394e1404b9cc2c3d1477e0e | |
parent | a1a18aa7ba68a6560c6efb846fd43e1c9b31e293 [diff] |
Fixing gradle complain on skipping constructor method mid-way Test: Verified apk compiles locally Change-Id: I3688724d229607edf28043453798683fd8163f24 Bug: 152086714
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/LockscreenLockIconController.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/LockscreenLockIconController.java index 4b70de9..7011eee 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/LockscreenLockIconController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/LockscreenLockIconController.java
@@ -127,11 +127,9 @@ mResources = resources; mHeadsUpManagerPhone = headsUpManagerPhone; - if (view == null) { - return; + if (view != null) { + mKeyguardIndicationController.setLockIconController(this); } - - mKeyguardIndicationController.setLockIconController(this); } @Override