diff options
author | Adam Cohen <adamcohen@google.com> | 2013-11-15 16:51:22 +0000 |
---|---|---|
committer | Adam Cohen <adamcohen@google.com> | 2013-11-15 17:03:49 +0000 |
commit | 3a14eeb54eb6f901629b26bf9e2ccf2d5bc564dd (patch) | |
tree | 225231cca68fc382936b787db9ddfe3ead94b527 /src/com | |
parent | 202e4fdafb5e4e94dd925905c1553bd92e61985e (diff) | |
download | android_packages_apps_Trebuchet-3a14eeb54eb6f901629b26bf9e2ccf2d5bc564dd.tar.gz android_packages_apps_Trebuchet-3a14eeb54eb6f901629b26bf9e2ccf2d5bc564dd.tar.bz2 android_packages_apps_Trebuchet-3a14eeb54eb6f901629b26bf9e2ccf2d5bc564dd.zip |
Bit of code cleanup (issue 11648206)
Change-Id: I2d04bbbdb037de089a16da236dadc4f5950504da
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/android/launcher3/Workspace.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java index 7466a19bb..d5c0c75b2 100644 --- a/src/com/android/launcher3/Workspace.java +++ b/src/com/android/launcher3/Workspace.java @@ -708,7 +708,12 @@ public class Workspace extends SmoothPagedView 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(); } |