Fixing issue where flinging the Customize tray would scroll to the incorrect page after update.

Change-Id: I654665b065ad60414286ea16f7feae5054df604c
This commit is contained in:
Winson Chung committed 2011-02-23 17:07:48 -08:00
1 parent 199b299308
commit 03929773a4
2 files changed
+13 -1

No files matched your search

+5
View File
@@ -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()) {