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

Commit 9ef3cc5e authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Send less touches to the seekbar

Test: manual
Bug: 63096355
Change-Id: I19d35f157d52ab6c396cbb8c7474eb42e2d6cf10
parent 906ee677
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -341,7 +341,8 @@ public class VolumeDialogImpl implements VolumeDialog {
        row.connectedDevice = row.view.findViewById(R.id.volume_row_connected_device);
        row.connectedDevice = row.view.findViewById(R.id.volume_row_connected_device);


        // forward events above the slider into the slider
        // forward events above the slider into the slider
        row.view.setOnTouchListener(new OnTouchListener() {
        row.view.findViewById(R.id.volume_row_slider_frame)
                .setOnTouchListener(new OnTouchListener() {
            private final Rect mSliderHitRect = new Rect();
            private final Rect mSliderHitRect = new Rect();
            private boolean mDragging;
            private boolean mDragging;