Revert "[Setting] Cleanup Unused SimSettings"
This reverts commit 0d9d341932
.
Reason for revert: Potential culprit for b/146229292 - verifying through Forrest before revert submission
Change-Id: I29a3ed1a44ea324e0fa88cda2e5baecb441f7922
This commit is contained in:
@@ -56,14 +56,13 @@ public class SimPreferenceDialog extends Activity {
|
||||
View mDialogLayout;
|
||||
private final String SIM_NAME = "sim_name";
|
||||
private final String TINT_POS = "tint_pos";
|
||||
private static final String EXTRA_SLOT_ID = "slot_id";
|
||||
|
||||
@Override
|
||||
public void onCreate(Bundle bundle) {
|
||||
super.onCreate(bundle);
|
||||
mContext = this;
|
||||
final Bundle extras = getIntent().getExtras();
|
||||
mSlotId = extras.getInt(EXTRA_SLOT_ID, -1);
|
||||
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);
|
||||
|
Reference in New Issue
Block a user