Fix clicking MainSwitchPreference, there will be two touch sounds
Bug: 284855815 Test: manual Change-Id: I9867c55a9f8d2a1e15912915485953e0958ba31f
This commit is contained in:
@@ -123,8 +123,7 @@ public class MainSwitchBar extends LinearLayout implements CompoundButton.OnChec
|
||||
|
||||
@Override
|
||||
public boolean performClick() {
|
||||
mSwitch.performClick();
|
||||
return super.performClick();
|
||||
return mSwitch.performClick();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user