From 296ab0fde68c6aeb255c96a31440fa7f844e02a2 Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Mon, 7 Oct 2013 18:21:59 -0700 Subject: [PATCH] Fixing flash when you swipe a page and go into All Apps (Bug 10971209) Change-Id: I7d63012409c3b084cc81095a243a2d492594bb5f --- src/com/android/launcher3/Workspace.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java index c3c0019c2f..c1d09fce1b 100644 --- a/src/com/android/launcher3/Workspace.java +++ b/src/com/android/launcher3/Workspace.java @@ -1909,7 +1909,7 @@ public class Workspace extends SmoothPagedView getResources().getInteger(R.integer.config_appsCustomizeWorkspaceShrinkTime); for (int i = 0; i < getChildCount(); i++) { final CellLayout cl = (CellLayout) getChildAt(i); - boolean isCurrentPage = (i == mCurrentPage); + boolean isCurrentPage = (i == getNextPage()); float initialAlpha = cl.getShortcutsAndWidgets().getAlpha(); float finalAlpha = stateIsSmall ? 0f : 1f;