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

Commit 607535b8 authored by Tony Huang's avatar Tony Huang Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE when quick switch on shell transition" into tm-dev

parents 39c67bdd 710e6835
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1329,8 +1329,11 @@ class StageCoordinator implements SplitLayout.SplitLayoutHandler,
        // Once the pending enter transition got merged, make sure to bring divider bar visible and
        // clear the pending transition from cache to prevent mess-up the following state.
        if (transition == mSplitTransitions.mPendingEnter) {
            finishEnterSplitScreen(null);
            final SurfaceControl.Transaction t = mTransactionPool.acquire();
            finishEnterSplitScreen(t);
            mSplitTransitions.mPendingEnter = null;
            t.apply();
            mTransactionPool.release(t);
        }
    }