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

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

Fix bug 3357208 - List selector shows as dark black on first pressed state

Make sure AbsListView selector drawable state gets configured on touch.

Change-Id: Ic5863ee05517b426585f59aaf52ba75b72d8c020
parent 3d8e3535
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2642,6 +2642,7 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
                        setPressed(true);
                        layoutChildren();
                        positionSelector(mMotionPosition, child);
                        refreshDrawableState();

                        final int longPressTimeout = ViewConfiguration.getLongPressTimeout();
                        final boolean longClickable = isLongClickable();