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

Commit 55a8cd69 authored by Daniel Bright's avatar Daniel Bright Committed by Automerger Merge Worker
Browse files

Merge "Revert "access system resources with android.R package"" am: 6bd382b8 am: 4644c7f0

Change-Id: I0047f705a655132901b4cdaefc65e780c39b1f4f
parents 6d63161a 4644c7f0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -212,7 +212,7 @@ public class RenameMobileNetworkDialogFragment extends InstrumentedDialogFragmen

    private Color[] getColors() {
        final Resources res = getContext().getResources();
        final int[] colorInts = res.getIntArray(android.R.array.simColors);
        final int[] colorInts = res.getIntArray(com.android.internal.R.array.sim_colors);
        final String[] colorStrings = res.getStringArray(R.array.color_picker);
        final int iconSize = res.getDimensionPixelSize(R.dimen.color_swatch_size);
        final int strokeWidth = res.getDimensionPixelSize(R.dimen.color_swatch_stroke_width);
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ public class SimPreferenceDialog extends Activity {
        mSlotId = extras.getInt(SimSettings.EXTRA_SLOT_ID, -1);
        mSubscriptionManager = SubscriptionManager.from(mContext);
        mSubInfoRecord = mSubscriptionManager.getActiveSubscriptionInfoForSimSlotIndex(mSlotId);
        mTintArr = mContext.getResources().getIntArray(android.R.array.simColors);
        mTintArr = mContext.getResources().getIntArray(com.android.internal.R.array.sim_colors);
        mColorStrings = mContext.getResources().getStringArray(R.array.color_picker);
        mTintSelectorPos = 0;