Fix blip in AllApps transition
Change-Id: I599867712796b5ec0e0523f3dbcf11b50e012d93
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user