Close all floating views when animating to new screen for newly installed apps.

Bug: 64073932
Change-Id: I9253c38391af75ed44a057184144f6a3cee36e69
This commit is contained in:
Jon Miranda
2018-03-29 11:43:58 -07:00
parent 457dedd1bf
commit 64eb8eafb0
+2
View File
@@ -1976,6 +1976,8 @@ public class Launcher extends BaseDraggingActivity implements LauncherExterns, L
mWorkspace.postDelayed(new Runnable() {
public void run() {
if (mWorkspace != null) {
AbstractFloatingView.closeAllOpenViews(Launcher.this, false);
mWorkspace.snapToPage(newScreenIndex);
mWorkspace.postDelayed(startBounceAnimRunnable,
NEW_APPS_ANIMATION_DELAY);