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

Commit bcf3f23b authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "access system resources with android.R package" am: ef77c1d6 am: 49cd1555

Change-Id: Idcb5041776ed072a871bc037df143450c92d458c
parents 780b99ee 49cd1555
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -200,7 +200,7 @@ public class RenameMobileNetworkDialogFragment extends InstrumentedDialogFragmen

    private Color[] getColors() {
        final Resources res = getContext().getResources();
        final int[] colorInts = res.getIntArray(com.android.internal.R.array.sim_colors);
        final int[] colorInts = res.getIntArray(android.R.array.simColors);
        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(com.android.internal.R.array.sim_colors);
        mTintArr = mContext.getResources().getIntArray(android.R.array.simColors);
        mColorStrings = mContext.getResources().getStringArray(R.array.color_picker);
        mTintSelectorPos = 0;