Restore line to make original view invisible when hideOriginal is true.

Accidentally removed the entire if statement in
Id4312d692b2a337aefe082e40faec344e76ecabb.

Change-Id: I14f87bc516a85986bbbd305f78e7b60f03a021ba
This commit is contained in:
Jon Miranda 2019-04-17 18:26:19 -07:00
parent 8f9830ec05
commit 2d08ca47f6
1 changed files with 1 additions and 0 deletions

View File

@ -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(() -> {