Fix blip in AllApps transition

Change-Id: I599867712796b5ec0e0523f3dbcf11b50e012d93
This commit is contained in:
Adam Cohen
2011-09-12 15:28:15 -07:00
parent f4ddea3df7
commit 7842d7fc78
+5 -2
View File
@@ -1137,8 +1137,11 @@ public class Workspace extends SmoothPagedView
cl.setTranslationX(translationX);
cl.setRotationY(rotation);
} else {
resetCellLayoutTransforms((CellLayout) getChildAt(0), true);
resetCellLayoutTransforms((CellLayout) getChildAt(getChildCount() - 1), false);
// We don't want to mess with the translations during transitions
if (!isSwitchingState()) {
resetCellLayoutTransforms((CellLayout) getChildAt(0), true);
resetCellLayoutTransforms((CellLayout) getChildAt(getChildCount() - 1), false);
}
}
}