commit | 2d08ca47f60202df6161928171e65e6c6ccfefd2 | [log] [tgz] |
---|---|---|
author | Jon Miranda <jonmiranda@google.com> | Wed Apr 17 18:26:19 2019 -0700 |
committer | Jon Miranda <jonmiranda@google.com> | Wed Apr 17 18:27:35 2019 -0700 |
tree | 0b83d4e36779575f96b3a69102f240889107d633 | |
parent | 8f9830ec05ae995e23a82cbd749106083318521a [diff] |
Restore line to make original view invisible when hideOriginal is true. Accidentally removed the entire if statement in Id4312d692b2a337aefe082e40faec344e76ecabb. Change-Id: I14f87bc516a85986bbbd305f78e7b60f03a021ba
diff --git a/src/com/android/launcher3/views/FloatingIconView.java b/src/com/android/launcher3/views/FloatingIconView.java index 2c21f73..f96652e 100644 --- a/src/com/android/launcher3/views/FloatingIconView.java +++ b/src/com/android/launcher3/views/FloatingIconView.java
@@ -398,6 +398,7 @@ 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(() -> {