summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java
diff options
context:
space:
mode:
authorBeverly <beverlyt@google.com>2021-01-14 14:47:47 -0500
committerBeverly <beverlyt@google.com>2021-01-14 15:00:54 -0500
commitce5d7b481a541e2a68274ab73ca6b146d17be218 (patch)
treecf1ed56543bb10e4a30286a01081cf2e9fbfdfa0 /packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java
parent4a1e4df7736f8f94679cb93d925aa1e76b012a3b (diff)
Revert LS/AOD clock color change
Until new colors will take into account contrast with the wallpaper. Test: manual Bug: 170228350 Change-Id: Icd3628e1f8aedfaeeb3b1cd264c6d0851b0f8cce
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java')
-rw-r--r--packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java b/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java
index 302a2620aac0..59e81cf96bb2 100644
--- a/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java
+++ b/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java
@@ -85,8 +85,8 @@ public class AnimatableClockController extends ViewController<AnimatableClockVie
}
private void initColors() {
- mLockScreenColors[0] = Utils.getColorAttr(getContext(),
- android.R.attr.textColorPrimary).getDefaultColor();
+ mLockScreenColors[0] = Utils.getColorAttrDefaultColor(getContext(),
+ com.android.systemui.R.attr.wallpaperTextColor);
mLockScreenColors[1] = mLockScreenColors[0]; // same color
mView.setColors(mDozingColors, mLockScreenColors);
mView.animateDoze(mIsDozing, false);