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

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

Merge "Update when display change callback on legacy transition" into tm-qpr-dev

parents 973d686d 3685022c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1343,8 +1343,6 @@ public class StageCoordinator implements SplitLayout.SplitLayoutHandler,
    private void onDisplayChange(int displayId, int fromRotation, int toRotation,
            @Nullable DisplayAreaInfo newDisplayAreaInfo, WindowContainerTransaction wct) {
        if (!mMainStage.isActive()) return;
        // Only do this when shell transition
        if (!ENABLE_SHELL_TRANSITIONS) return;

        mDisplayLayout.rotateTo(mContext.getResources(), toRotation);
        mSplitLayout.rotateTo(toRotation, mDisplayLayout.stableInsets());