summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/keyguard/LockIconView.java
diff options
context:
space:
mode:
authorBeverly <beverlyt@google.com>2021-08-19 16:08:40 -0400
committerBeverly Tai <beverlyt@google.com>2021-08-23 14:22:02 +0000
commit199da10111ae543dd3ed6f7a098cbc458d1e39c5 (patch)
tree8c6bbe9c9b45ef552652df13271a400a1b812374 /packages/SystemUI/src/com/android/keyguard/LockIconView.java
parent0d1290e7c31945b4be6dae524e4b3b6ecab72469 (diff)
Update lock icon location if auth setup is delayed
+ Update javadoc Test: atest LockIconViewControllerTest Fixes: 196751321 Change-Id: I003bec46b26a2c8ac8bae6d1d26c91645c4ae72f
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/LockIconView.java')
-rw-r--r--packages/SystemUI/src/com/android/keyguard/LockIconView.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/LockIconView.java b/packages/SystemUI/src/com/android/keyguard/LockIconView.java
index edb05691b530..dd3bb8990599 100644
--- a/packages/SystemUI/src/com/android/keyguard/LockIconView.java
+++ b/packages/SystemUI/src/com/android/keyguard/LockIconView.java
@@ -27,6 +27,7 @@ import android.widget.FrameLayout;
import android.widget.ImageView;
import androidx.annotation.NonNull;
+import androidx.annotation.VisibleForTesting;
import com.android.settingslib.Utils;
import com.android.systemui.Dumpable;
@@ -79,7 +80,11 @@ public class LockIconView extends FrameLayout implements Dumpable {
mLockIcon.setImageDrawable(drawable);
}
- void setCenterLocation(@NonNull PointF center, int radius) {
+ /**
+ * Set the location of the lock icon.
+ */
+ @VisibleForTesting
+ public void setCenterLocation(@NonNull PointF center, int radius) {
mLockIconCenter = center;
mRadius = radius;