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:
parent
8f9830ec05
commit
2d08ca47f6
|
@ -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(() -> {
|
||||
|
|
Loading…
Reference in New Issue