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

This commit is contained in:
Edgar Wang
2023-08-02 07:59:09 +00:00
committed by Android (Google) Code Review

View File

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