Merge "MVNO value is not grayed out when MVNO type is none" into nyc-dev
am: e652b7b
* commit 'e652b7b0cade699a396f55602f5d7a282466c705':
MVNO value is not grayed out when MVNO type is none
Change-Id: I12079a64d44b8578d258ef0afd4391b53016c709
This commit is contained in:
@@ -453,11 +453,7 @@ public class ApnEditor extends InstrumentedPreferenceActivity
|
||||
return null;
|
||||
} else {
|
||||
String[] values = mRes.getStringArray(R.array.mvno_type_entries);
|
||||
if (values[mvnoIndex].equals("None")) {
|
||||
mMvnoMatchData.setEnabled(false);
|
||||
} else {
|
||||
mMvnoMatchData.setEnabled(true);
|
||||
}
|
||||
mMvnoMatchData.setEnabled(mvnoIndex != 0);
|
||||
if (newValue != null && newValue.equals(oldValue) == false) {
|
||||
if (values[mvnoIndex].equals("SPN")) {
|
||||
mMvnoMatchData.setText(mTelephonyManager.getSimOperatorName());
|
||||
|
Reference in New Issue
Block a user