Merge "Update state when disabling and enabing develop option" into main

This commit is contained in:
Treehugger Robot
2024-11-07 19:14:23 +00:00
committed by Gerrit Code Review

View File

@@ -74,6 +74,12 @@ public class BluetoothA2dpHwOffloadPreferenceController extends DeveloperOptions
}
}
@Override
protected void onDeveloperOptionsSwitchEnabled() {
super.onDeveloperOptionsSwitchEnabled();
updateState(mPreference);
}
@Override
protected void onDeveloperOptionsSwitchDisabled() {
super.onDeveloperOptionsSwitchDisabled();