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

Commit b1b80a77 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Merge cherrypicks of ['googleplex-android-review.googlesource.com/30827731'] into 25Q2-release.

Change-Id: Ia27a6f054ca86d5b030032777846f2d254caf723
parents 1814c9bf ffd503a6
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -122,7 +122,11 @@ class NumPadAnimator {

        int[] customAttrs = {android.R.attr.colorControlNormal};
        ContextThemeWrapper ctw = new ContextThemeWrapper(context, mStyle);
        mNormalBackgroundColor = ctw.getColor(NUM_PAD_BACKGROUND);
        @SuppressLint("ResourceType") TypedArray a = ctw.obtainStyledAttributes(customAttrs);

        mNormalBackgroundColor = a.getColor(0, context.getColor(NUM_PAD_BACKGROUND));

        a.recycle();

        mPressedBackgroundColor = context.getColor(NUM_PAD_BACKGROUND_PRESSED);
        mTextColorPressed = context.getColor(NUM_PAD_PRESSED);