1. String under SecureNfc should update immediately when NFC toggle
2. SecureNfc state should remain the same after NFC toggle
Bug:
129037278
Test: Toggle NFC/SecureNfc option and check behavior
Change-Id: I9cbac4951f0c70accd92c43fc62658cb5dbb5c9b
mPreference.setEnabled(false);
break;
case NfcAdapter.STATE_ON:
- mPreference.setChecked(mPreference.isEnabled());
+ mPreference.setSummary(R.string.nfc_secure_toggle_summary);
+ mPreference.setChecked(mPreference.isChecked());
mPreference.setEnabled(true);
break;
case NfcAdapter.STATE_TURNING_ON: