Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cffc4354 authored by Edgar Wang's avatar Edgar Wang
Browse files

Fix clicking MainSwitchPreference, there will be two touch sounds

Bug: 284855815
Test: manual
Change-Id: I9867c55a9f8d2a1e15912915485953e0958ba31f
parent 77c76ec9
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -123,8 +123,7 @@ public class MainSwitchBar extends LinearLayout implements CompoundButton.OnChec

    @Override
    public boolean performClick() {
        mSwitch.performClick();
        return super.performClick();
        return mSwitch.performClick();
    }

    /**