From 8176366f54e713b253426e165c7982544f28c413 Mon Sep 17 00:00:00 2001 From: Jerry Chang Date: Tue, 30 Nov 2021 17:15:40 +0800 Subject: [PATCH] Remove stage type from split screen APIs Bug: 198438631 Test: manual check Change-Id: Ic4f41e39013e4d49585da4cda9b28151c549357a --- quickstep/src/com/android/quickstep/SystemUiProxy.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/quickstep/src/com/android/quickstep/SystemUiProxy.java b/quickstep/src/com/android/quickstep/SystemUiProxy.java index 2543e6c594..5fd66d82eb 100644 --- a/quickstep/src/com/android/quickstep/SystemUiProxy.java +++ b/quickstep/src/com/android/quickstep/SystemUiProxy.java @@ -593,11 +593,11 @@ public class SystemUiProxy implements ISystemUiProxy, } } - public void startShortcut(String packageName, String shortcutId, int stage, int position, + public void startShortcut(String packageName, String shortcutId, int position, Bundle options, UserHandle user) { if (mSplitScreen != null) { try { - mSplitScreen.startShortcut(packageName, shortcutId, stage, position, options, + mSplitScreen.startShortcut(packageName, shortcutId, position, options, user); } catch (RemoteException e) { Log.w(TAG, "Failed call startShortcut"); @@ -605,11 +605,11 @@ public class SystemUiProxy implements ISystemUiProxy, } } - public void startIntent(PendingIntent intent, Intent fillInIntent, int stage, int position, + public void startIntent(PendingIntent intent, Intent fillInIntent, int position, Bundle options) { if (mSplitScreen != null) { try { - mSplitScreen.startIntent(intent, fillInIntent, stage, position, options); + mSplitScreen.startIntent(intent, fillInIntent, position, options); } catch (RemoteException e) { Log.w(TAG, "Failed call startIntent"); }