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

Commit 0e383d78 authored by arangelov's avatar arangelov
Browse files

Fix restoring vertical scroll after horizontal.

Fixes: 158622814
Test: manual
Change-Id: I310566d57f83b3aba5e015873ec4c48a9243fbf0
parent 24156fa7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3100,7 +3100,7 @@ public class ChooserActivity extends ResolverActivity implements
                setVerticalScrollEnabled(false);
            }
        } else if (state == ViewPager.SCROLL_STATE_IDLE) {
            if (mScrollStatus == SCROLL_STATUS_SCROLLING_VERTICAL) {
            if (mScrollStatus == SCROLL_STATUS_SCROLLING_HORIZONTAL) {
                mScrollStatus = SCROLL_STATUS_IDLE;
                setVerticalScrollEnabled(true);
            }