Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c978263 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Set wallet lockscreen icon tint with text primary color." into sc-dev am: 528aa5fe

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15274502

Change-Id: Icc7118469832cfafac46048847c262cd46480a6d
parents 0bbec7b7 528aa5fe
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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);