Turning off the 3D rotation for non-xlarge devices
Change-Id: I4fe13b362458d6bad3da5263cf95f27a3b5b08b9
This commit is contained in:
@@ -1073,6 +1073,9 @@ public class Workspace extends SmoothPagedView
|
||||
|
||||
@Override
|
||||
protected void screenScrolled(int screenCenter) {
|
||||
// If the screen is not xlarge, then don't rotate the CellLayouts
|
||||
if (!LauncherApplication.isScreenXLarge()) return;
|
||||
|
||||
final int halfScreenSize = getMeasuredWidth() / 2;
|
||||
|
||||
for (int i = 0; i < getChildCount(); i++) {
|
||||
|
||||
Reference in New Issue
Block a user