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

Commit fb674c7d authored by Wale Ogunwale's avatar Wale Ogunwale
Browse files

Added API to specify if split-screen should exit on hide

Bug: 179176511
Test: presubmits
Change-Id: I6eaecec2ac3fd1bbfbf548078eef525376ddbe72
parent 823c5f8b
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -480,6 +480,17 @@ public class SystemUiProxy implements ISystemUiProxy {
        }
    }

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

    @Override
    public void startTask(int taskId, int stage, int position, Bundle options) {
        if (mSystemUiProxy != null) {