Merge "Update state when disabling and enabing develop option" into main
This commit is contained in:
@@ -74,6 +74,12 @@ public class BluetoothA2dpHwOffloadPreferenceController extends DeveloperOptions
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onDeveloperOptionsSwitchEnabled() {
|
||||
super.onDeveloperOptionsSwitchEnabled();
|
||||
updateState(mPreference);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onDeveloperOptionsSwitchDisabled() {
|
||||
super.onDeveloperOptionsSwitchDisabled();
|
||||
|
Reference in New Issue
Block a user