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

Commit c47a7adf authored by Will Osborn's avatar Will Osborn
Browse files

Add displayId to ILauncherProxy.enterStateSplitFromRunningApp

Bug: 397942185
Test: local + presubmit
Flag: com.android.launcher3.enable_overview_on_connected_displays

Change-Id: Id210aac70cf7b06c3176bc439acee15e687e57f3
parent fb167541
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ oneway interface ILauncherProxy {
    /**
     * Sent when split keyboard shortcut is triggered to enter stage split.
     */
    void enterStageSplitFromRunningApp(boolean leftOrTop) = 25;
    void enterStageSplitFromRunningApp(int displayId, boolean leftOrTop) = 25;

    /**
     * Sent when the task bar stash state is toggled.
+1 −1
Original line number Diff line number Diff line
@@ -833,7 +833,7 @@ public class LauncherProxyService implements CallbackController<LauncherProxyLis
                                & SYSUI_STATE_FREEFORM_ACTIVE_IN_DESKTOP_MODE) != 0) {
                            return;
                        }
                        mLauncherProxy.enterStageSplitFromRunningApp(leftOrTop);
                        mLauncherProxy.enterStageSplitFromRunningApp(displayId, leftOrTop);
                    } catch (RemoteException e) {
                        Log.w(TAG_OPS, "Unable to enter stage split from the current running app");
                    }