Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24906b4f authored by Android Build Merger (Role)'s avatar Android Build Merger (Role)
Browse files

[automerger] Fade in LauncherRootView in finishFirstPageBind. am: dbd9286a

Change-Id: I0ffeab9d4f958cd589fddf1e015b01c5ebe799d4
parents c57e34a9 dbd9286a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -318,7 +318,7 @@ public class Launcher extends BaseDraggingActivity
            if (!internalStateHandled) {
                // If we are not binding synchronously, show a fade in animation when
                // the first page bind completes.
                mDragLayer.setAlpha(0);
                mLauncherView.setAlpha(0);
            }
        } else {
            // Pages bound synchronously.
@@ -2131,8 +2131,8 @@ public class Launcher extends BaseDraggingActivity

    @Override
    public void finishFirstPageBind(final ViewOnDrawExecutor executor) {
        if (mDragLayer.getAlpha() < 1) {
            mDragLayer.animate().alpha(1).withEndAction(
        if (mLauncherView.getAlpha() < 1) {
            mLauncherView.animate().alpha(1).withEndAction(
                    executor == null ? null : executor::onLoadAnimationCompleted).start();
        } else if (executor != null) {
            executor.onLoadAnimationCompleted();