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

Commit 81c42fa7 authored by mxyyiyi's avatar mxyyiyi
Browse files

Disable `Touch & Hold` action of the spinner in battery usage page.

Bug: 317149732
Test: Manual
Change-Id: I852ec6ecbf2063d95b511e4f0f52ce591d05fda6
parent ee501485
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -60,6 +60,7 @@ public class SpinnerPreference extends Preference {
        mSpinner = (Spinner) view.findViewById(R.id.spinner);
        mSpinner.setAdapter(new SpinnerAdapter(getContext(), mItems));
        mSpinner.setSelection(mSavedSpinnerPosition);
        mSpinner.setLongClickable(false);
        if (mOnItemSelectedListener != null) {
            mSpinner.setOnItemSelectedListener(mOnItemSelectedListener);
        }