am d9ecec11: Merge "Fixing flash when you swipe a page and go into All Apps (Bug 10971209)" into jb-ub-now-indigo-rose

* commit 'd9ecec11667aa5d26b04b16f9b37eb6ed01c22c3':
  Fixing flash when you swipe a page and go into All Apps (Bug 10971209)
This commit is contained in:
Adam Cohen
2013-10-07 18:28:23 -07:00
committed by Android Git Automerger
+1 -1
View File
@@ -1949,7 +1949,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;