Bluetooth: In-band ringtone setting should be reset to true

* Enable in-band ringing setting should be reset to true when toggling
  developer options switch

Bug: 65382863
Test: make, try toggling "Enable in-band ringing" preference
Change-Id: Ic3221710983d5c493fa3dff36bc24611948fc4c1
This commit is contained in:
Jack He
2017-09-05 15:44:48 -07:00
parent d57edb708f
commit c9d7e8767b

View File

@@ -860,6 +860,10 @@ public class DevelopmentSettings extends RestrictedSettingsFragment
onPreferenceTreeClick(cb); onPreferenceTreeClick(cb);
} }
} }
if (mBluetoothEnableInbandRinging != null) {
mBluetoothEnableInbandRinging.setChecked(true);
onPreferenceTreeClick(mBluetoothEnableInbandRinging);
}
mBugReportInPowerController.resetPreference(); mBugReportInPowerController.resetPreference();
mEnableAdbController.resetPreference(); mEnableAdbController.resetPreference();
resetDebuggerOptions(); resetDebuggerOptions();