mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Merge "Hide original icon immediately for app close." into ub-launcher3-qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
efd5f86a0a
@@ -641,6 +641,10 @@ public class FloatingIconView extends View implements
|
||||
view.setVisibility(VISIBLE);
|
||||
originalView.setVisibility(INVISIBLE);
|
||||
};
|
||||
if (!isOpening) {
|
||||
// Hide immediately since the floating view starts at a different location.
|
||||
originalView.setVisibility(INVISIBLE);
|
||||
}
|
||||
CancellationSignal loadIconSignal = view.mLoadIconSignal;
|
||||
new Handler(LauncherModel.getWorkerLooper()).postAtFrontOfQueue(() -> {
|
||||
view.getIcon(originalView, (ItemInfo) originalView.getTag(), isOpening,
|
||||
|
||||
Reference in New Issue
Block a user