commit | 3a14eeb54eb6f901629b26bf9e2ccf2d5bc564dd | [log] [tgz] |
---|---|---|
author | Adam Cohen <adamcohen@google.com> | Fri Nov 15 16:51:22 2013 +0000 |
committer | Adam Cohen <adamcohen@google.com> | Fri Nov 15 17:03:49 2013 +0000 |
tree | 225231cca68fc382936b787db9ddfe3ead94b527 | |
parent | 202e4fdafb5e4e94dd925905c1553bd92e61985e [diff] |
Bit of code cleanup (issue 11648206) Change-Id: I2d04bbbdb037de089a16da236dadc4f5950504da
diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java index 7466a19..d5c0c75 100644 --- a/src/com/android/launcher3/Workspace.java +++ b/src/com/android/launcher3/Workspace.java
@@ -708,7 +708,12 @@ onComplete, stripEmptyScreens); } return; + } else if (stripEmptyScreens) { + // If we're not going to strip the empty screens after removing + // the extra empty screen, do it right away. + stripEmptyScreens(); } + if (onComplete != null) { onComplete.run(); }