Merge "Fixing issue where flinging the Customize tray would scroll to the incorrect page after update."
This commit is contained in:
@@ -500,6 +500,11 @@ public abstract class PagedView extends ViewGroup {
|
||||
}
|
||||
}
|
||||
|
||||
protected void forceUpdateAdjacentPagesAlpha() {
|
||||
mDirtyPageAlpha = true;
|
||||
updateAdjacentPagesAlpha();
|
||||
}
|
||||
|
||||
protected void updateAdjacentPagesAlpha() {
|
||||
if (mFadeInAdjacentScreens) {
|
||||
if (mDirtyPageAlpha || (mTouchState == TOUCH_STATE_SCROLLING) || !mScroller.isFinished()) {
|
||||
|
||||
Reference in New Issue
Block a user