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

Commit 805b1f9e authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Revert "Connect split-screen things to systemui divider"

Revert "SystemUI Split via TaskOrganizer"

Revert "Update CTS tests for tile-based split-screen"

Revert submission 9964969-sysui_split_screen

Reason for revert:
- Random SysUI crash (ag/10335781)
- Breaks IME tests with new_insets set to 2
- Crashes SysUI in split screen with new_insets set to 2.

Reverted Changes:
I103f68030: SystemUI Split via TaskOrganizer
If6740b7ee: Connect split-screen things to systemui divider
I44f497e7d: Update CTS tests for tile-based split-screen

Exempt-From-Owner-Approval: Revert
Change-Id: I9d5d7f0447fdfaf73f4e0a6450a2107bceec39cb
parent 3ef159be
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -81,9 +81,12 @@ public class RecentsAnimationController {
            mWindowThresholdCrossed = windowThresholdCrossed;
            UI_HELPER_EXECUTOR.execute(() -> {
                mController.setAnimationTargetsBehindSystemBars(!windowThresholdCrossed);
                SystemUiProxy p = SystemUiProxy.INSTANCE.getNoCreate();
                if (p != null && mShouldMinimizeSplitScreen) {
                    p.setSplitScreenMinimized(windowThresholdCrossed);
                if (mShouldMinimizeSplitScreen && windowThresholdCrossed) {
                    // NOTE: As a workaround for conflicting animations (Launcher animating the task
                    // leash, and SystemUI resizing the docked stack, which resizes the task), we
                    // currently only set the minimized mode, and not the inverse.
                    // TODO: Synchronize the minimize animation with the launcher animation
                    mController.setSplitScreenMinimized(windowThresholdCrossed);
                }
            });
        }
+0 −11
Original line number Diff line number Diff line
@@ -296,15 +296,4 @@ public class SystemUiProxy implements ISystemUiProxy {
            }
        }
    }

    @Override
    public void setSplitScreenMinimized(boolean minimized) {
        if (mSystemUiProxy != null) {
            try {
                mSystemUiProxy.setSplitScreenMinimized(minimized);
            } catch (RemoteException e) {
                Log.w(TAG, "Failed call stopScreenPinning", e);
            }
        }
    }
}