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

Commit 6cd63cb4 authored by Wale Ogunwale's avatar Wale Ogunwale Committed by Android (Google) Code Review
Browse files

Merge "Added API to specify if split-screen should exit on hide" into sc-dev

parents 8eced270 fb674c7d
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) {