Use new onStartSplitLegacy when starting split from overview
Bug: 223396876 Change-Id: I696749f7674a09b2a12c6ef2c2b7d19d0884049a
This commit is contained in:
1 parent
d880a4fa63
commit
dd7e132db5
3 files changed
+17
-8
No files matched your search
@@ -676,14 +676,12 @@ public class SystemUiProxy implements ISystemUiProxy, DisplayController.DisplayI
|
||||
* Call this when going to recents so that shell can set-up and provide appropriate leashes
|
||||
* for animation (eg. DividerBar).
|
||||
*
|
||||
* @param cancel true if recents starting is being cancelled.
|
||||
* @return RemoteAnimationTargets of windows that need to animate but only exist in shell.
|
||||
*/
|
||||
public RemoteAnimationTarget[] onGoingToRecentsLegacy(boolean cancel,
|
||||
RemoteAnimationTarget[] apps) {
|
||||
public RemoteAnimationTarget[] onGoingToRecentsLegacy(RemoteAnimationTarget[] apps) {
|
||||
if (mSplitScreen != null) {
|
||||
try {
|
||||
return mSplitScreen.onGoingToRecentsLegacy(cancel, apps);
|
||||
return mSplitScreen.onGoingToRecentsLegacy(apps);
|
||||
} catch (RemoteException e) {
|
||||
Log.w(TAG, "Failed call onGoingToRecentsLegacy");
|
||||
}
|
||||
@@ -691,6 +689,17 @@ public class SystemUiProxy implements ISystemUiProxy, DisplayController.DisplayI
|
||||
return null;
|
||||
}
|
||||
|
||||
public RemoteAnimationTarget[] onStartingSplitLegacy(RemoteAnimationTarget[] apps) {
|
||||
if (mSplitScreen != null) {
|
||||
try {
|
||||
return mSplitScreen.onStartingSplitLegacy(apps);
|
||||
} catch (RemoteException e) {
|
||||
Log.w(TAG, "Failed call onStartingSplitLegacy");
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
//
|
||||
// One handed
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user