Bit of code cleanup (issue 11648206)

Change-Id: I2d04bbbdb037de089a16da236dadc4f5950504da
This commit is contained in:
Adam Cohen
2013-11-15 16:51:22 +00:00
parent 202e4fdafb
commit 3a14eeb54e

View File

@@ -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();
}