diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2021-07-14 19:12:34 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-07-14 19:12:34 +0000 |
commit | 0c97826393825a5cffef3abfc0e1c22f99a0c880 (patch) | |
tree | 2122d6a09041a89acc9ddd749c0bc715e11a6ba4 | |
parent | 0bbec7b74d628259244e1ea078360e97c637b998 (diff) | |
parent | 528aa5fec830ce04680d879e6bc9cfe5714156a0 (diff) | |
download | base-0c97826393825a5cffef3abfc0e1c22f99a0c880.tar.gz |
Merge "Set wallet lockscreen icon tint with text primary color." into sc-dev am: 528aa5fec8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15274502
Change-Id: Icc7118469832cfafac46048847c262cd46480a6d
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java index 16f8319928bb..91d503bac4fe 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java @@ -74,6 +74,7 @@ import com.android.internal.annotations.VisibleForTesting; import com.android.internal.widget.LockPatternUtils; import com.android.keyguard.KeyguardUpdateMonitor; import com.android.keyguard.KeyguardUpdateMonitorCallback; +import com.android.settingslib.Utils; import com.android.systemui.ActivityIntentHelper; import com.android.systemui.Dependency; import com.android.systemui.R; @@ -459,6 +460,10 @@ public class KeyguardBottomAreaView extends FrameLayout implements View.OnClickL if (tileIcon != null) { mWalletButton.setImageDrawable(tileIcon); } + mWalletButton.getDrawable().setTint( + Utils.getColorAttr( + mContext, + com.android.internal.R.attr.textColorPrimary).getDefaultColor()); mWalletButton.setVisibility(VISIBLE); mWalletButton.setOnClickListener(this::onWalletClick); mIndicationArea.setPadding(mIndicationPadding, 0, mIndicationPadding, 0); |