Merge "Revert "Fix clicking MainSwitchPreference, there will be two touch sounds"" into main

This commit is contained in:
Bo Zhao
2023-08-03 18:17:53 +00:00
committed by Android (Google) Code Review

View File

@@ -123,7 +123,8 @@ public class MainSwitchBar extends LinearLayout implements CompoundButton.OnChec
@Override
public boolean performClick() {
return mSwitch.performClick();
mSwitch.performClick();
return super.performClick();
}
/**