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

Commit c5014294 authored by Adam Powell's avatar Adam Powell
Browse files

Fix bug 2516434

AbsListView shouldn't update mLastTouchMode in onTouchModeChanged;
it's only used in onWindowFocusChanged and since onTouchModeChanged
gets called first, the current and last modes will never be different
to trigger the right code path.

Change-Id: Ic9bc454c87826622df54417801fd8f13213c480e
parent 1a3786a3
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1988,7 +1988,6 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
                }
            }
        }
        mLastTouchMode = isInTouchMode ? TOUCH_MODE_ON : TOUCH_MODE_OFF;
    }

    @Override