From 2d08ca47f60202df6161928171e65e6c6ccfefd2 Mon Sep 17 00:00:00 2001 From: Jon Miranda Date: Wed, 17 Apr 2019 18:26:19 -0700 Subject: [PATCH] Restore line to make original view invisible when hideOriginal is true. Accidentally removed the entire if statement in Id4312d692b2a337aefe082e40faec344e76ecabb. Change-Id: I14f87bc516a85986bbbd305f78e7b60f03a021ba --- src/com/android/launcher3/views/FloatingIconView.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/android/launcher3/views/FloatingIconView.java b/src/com/android/launcher3/views/FloatingIconView.java index 2c21f73c52..f96652ebab 100644 --- a/src/com/android/launcher3/views/FloatingIconView.java +++ b/src/com/android/launcher3/views/FloatingIconView.java @@ -398,6 +398,7 @@ public class FloatingIconView extends View implements Animator.AnimatorListener, Runnable onIconLoaded = () -> { // Delay swapping views until the icon is loaded to prevent a flash. view.setVisibility(VISIBLE); + originalView.setVisibility(INVISIBLE); }; CancellationSignal loadIconSignal = view.mLoadIconSignal; new Handler(LauncherModel.getWorkerLooper()).postAtFrontOfQueue(() -> {