Merge "Fix restoring vertical scroll after horizontal." into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b367074347
@@ -3100,7 +3100,7 @@ public class ChooserActivity extends ResolverActivity implements
|
|||||||
setVerticalScrollEnabled(false);
|
setVerticalScrollEnabled(false);
|
||||||
}
|
}
|
||||||
} else if (state == ViewPager.SCROLL_STATE_IDLE) {
|
} else if (state == ViewPager.SCROLL_STATE_IDLE) {
|
||||||
if (mScrollStatus == SCROLL_STATUS_SCROLLING_VERTICAL) {
|
if (mScrollStatus == SCROLL_STATUS_SCROLLING_HORIZONTAL) {
|
||||||
mScrollStatus = SCROLL_STATUS_IDLE;
|
mScrollStatus = SCROLL_STATUS_IDLE;
|
||||||
setVerticalScrollEnabled(true);
|
setVerticalScrollEnabled(true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user