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

Commit 528aa5fe authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 75c9ab57 a33974c7
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);