[Setting] Cleanup Unused SimSettings
There's no entry to access SimSettings. Remove this unused UI. Bug: 131324863 Test: manual Change-Id: Ic55161ab47ae8673caf774cc49914f3741569fab Merged-In: I3f50e528eb409215371a125184502d3531bad0a8
This commit is contained in:
@@ -56,13 +56,14 @@ 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(SimSettings.EXTRA_SLOT_ID, -1);
|
||||
mSlotId = extras.getInt(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