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

Commit 09d9c3be authored by Dake Gu's avatar Dake Gu
Browse files

Transition: Don't suppressLayout(false) for returning activity

Change-Id: I7be8a779ab8996809b36baa107acd55ab872580c
parent 57b69dd2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -117,7 +117,7 @@ class ExitTransitionCoordinator extends ActivityTransitionCoordinator {
        setTransitionAlpha(mTransitioningViews, 1);
        setTransitionAlpha(mSharedElements, 1);
        mIsHidden = true;
        if (getDecor() != null) {
        if (!mIsReturning && getDecor() != null) {
            getDecor().suppressLayout(false);
        }
        clearState();
@@ -357,7 +357,7 @@ class ExitTransitionCoordinator extends ActivityTransitionCoordinator {
                mExitNotified = true;
                mResultReceiver.send(MSG_EXIT_TRANSITION_COMPLETE, null);
                mResultReceiver = null; // done talking
                if (getDecor() != null) {
                if (!mIsReturning && getDecor() != null) {
                    getDecor().suppressLayout(false);
                }
                finishIfNecessary();