diff options
author | Beverly <beverlyt@google.com> | 2021-01-13 14:48:01 -0500 |
---|---|---|
committer | Beverly <beverlyt@google.com> | 2021-01-13 16:22:09 -0500 |
commit | 81affc1f1fea1249c87215e092fd7e979be9f39a (patch) | |
tree | ff74673466af3a52b914e44e89dbc3c7934549ba /packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java | |
parent | c31ec3d518c84f63615b34cb5ff1fe20f84d5964 (diff) |
Update LS/AOD clock
- Center hours, only show one digit for hours if starts with 0.
- Decrease vertical spacing
- Remove horizontal letterSpacing adjustment (will be taken care within
the font file)
- Update color to use textColorPrimary
Test: manual
Bug: 170228350
Change-Id: I66d990eef8579ff56876ff12e1398198e515ec41
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java')
-rw-r--r-- | packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java b/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java index 7c6a27446c78..302a2620aac0 100644 --- a/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java +++ b/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java @@ -85,10 +85,9 @@ public class AnimatableClockController extends ViewController<AnimatableClockVie } private void initColors() { - mLockScreenColors[0] = Utils.getColorAttrDefaultColor(getContext(), - com.android.systemui.R.attr.wallpaperTextColor); - mLockScreenColors[1] = Utils.getColorAttrDefaultColor(getContext(), - com.android.systemui.R.attr.wallpaperTextColorSecondary); + mLockScreenColors[0] = Utils.getColorAttr(getContext(), + android.R.attr.textColorPrimary).getDefaultColor(); + mLockScreenColors[1] = mLockScreenColors[0]; // same color mView.setColors(mDozingColors, mLockScreenColors); mView.animateDoze(mIsDozing, false); } |