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

Commit 28cad457 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Reset the force-invisible flag after the animation into launcher...

Merge "Reset the force-invisible flag after the animation into launcher completes." into ub-launcher3-edmonton
parents b882b171 f23931f9
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -142,6 +142,15 @@ public abstract class BaseActivity extends Activity {
        }
    }

    @Override
    public void onEnterAnimationComplete() {
        super.onEnterAnimationComplete();

        // Needed for activities that auto-enter PiP, which will not trigger a remote animation to
        // be created
        clearForceInvisibleFlag(INVISIBLE_BY_STATE_HANDLER);
    }

    @Override
    protected void onStop() {
        mActivityFlags &= ~ACTIVITY_STATE_STARTED & ~ACTIVITY_STATE_USER_ACTIVE;