summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/keyguard/KeyguardSimPinViewController.java
diff options
context:
space:
mode:
authorLucas Dupin <dupin@google.com>2020-11-19 03:18:10 +0000
committerLucas Dupin <dupin@google.com>2020-12-01 14:23:16 -0800
commit7b8636fdb0dfc5ef727365cdf42a2fb56bdffeb2 (patch)
tree35429253346bc7c59558a354d760026f13869499 /packages/SystemUI/src/com/android/keyguard/KeyguardSimPinViewController.java
parent60797526531ad856bc3428ebc1af14a472c998ed (diff)
1/N The road to Material NEXT (bouncer and shade)
Styling bouncer and shade so they have solid backgrounds and read colors from themes instead of named resources. Scrim now fetches colorBackgroundFloating, and views get their background from colorBackground. Switching from light to dark theme will make bouncer colors update without re-inflating any views. Bug: 173561906 Bug: 173561901 Test: atest ScrimControllerTest Test: atest KeyguardSecurityContainerControllerTest Test: manual, switching to dark theme annd showing notif guts Change-Id: I372e8b688d7bbddd698381accd074b7655788cd0
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/KeyguardSimPinViewController.java')
-rw-r--r--packages/SystemUI/src/com/android/keyguard/KeyguardSimPinViewController.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardSimPinViewController.java b/packages/SystemUI/src/com/android/keyguard/KeyguardSimPinViewController.java
index 2cdd7f117594..5b4a7ff3e16e 100644
--- a/packages/SystemUI/src/com/android/keyguard/KeyguardSimPinViewController.java
+++ b/packages/SystemUI/src/com/android/keyguard/KeyguardSimPinViewController.java
@@ -309,7 +309,7 @@ public class KeyguardSimPinViewController
Resources rez = mView.getResources();
String msg;
TypedArray array = mView.getContext().obtainStyledAttributes(
- new int[] { R.attr.wallpaperTextColor });
+ new int[] { android.R.attr.textColor });
int color = array.getColor(0, Color.WHITE);
array.recycle();
if (count < 2) {