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

Commit 8ea5ce15 authored by Adam Powell's avatar Adam Powell Committed by Gerrit Code Review
Browse files

Merge "Ensure running mTouchModeReset when AbsListView is detached"

parents 5b6069ce a607223f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2637,7 +2637,7 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te

        if (mTouchModeReset != null) {
            removeCallbacks(mTouchModeReset);
            mTouchModeReset = null;
            mTouchModeReset.run();
        }
        mIsAttached = false;
    }
@@ -3422,6 +3422,7 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
                                    if (!mDataChanged) {
                                        performClick.run();
                                    }
                                    mTouchModeReset = null;
                                }
                            };
                            postDelayed(mTouchModeReset,