diff options
| author | Chris Li <lihongyu@google.com> | 2021-02-02 17:47:52 -0800 |
|---|---|---|
| committer | Chris Li <lihongyu@google.com> | 2021-02-02 18:00:35 -0800 |
| commit | 7dfa7106a9b1e5e968d332413da68d497d2d68dc (patch) | |
| tree | 3f6643fe4f84da240d4935b26c862acc1d8f0f60 /core/java/android | |
| parent | 58b9a4e48e8cdd3fe1653dfba2154d179e93caca (diff) | |
Allow non-resizable apps in split-screen (9/n)
Cleanup SizeCompatModeActivityController
Bug: 176061101
Bug: 178327644
Test: pass existing
Change-Id: If4bb5e082976725b80bda5a95880a24201b6c595
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/app/ITaskStackListener.aidl | 12 | ||||
| -rw-r--r-- | core/java/android/app/TaskStackListener.java | 7 |
2 files changed, 0 insertions, 19 deletions
diff --git a/core/java/android/app/ITaskStackListener.aidl b/core/java/android/app/ITaskStackListener.aidl index 9e1c505e7d4d..a9e28bb635be 100644 --- a/core/java/android/app/ITaskStackListener.aidl +++ b/core/java/android/app/ITaskStackListener.aidl @@ -145,18 +145,6 @@ oneway interface ITaskStackListener { void onTaskSnapshotChanged(int taskId, in TaskSnapshot snapshot); /** - * Called when the resumed activity is in size compatibility mode and its override configuration - * is different from the current one of system. - * - * @param displayId Id of the display where the activity resides. - * @param activityToken Token of the size compatibility mode activity. It will be null when - * switching to a activity that is not in size compatibility mode or the - * configuration of the activity. - * @see com.android.server.wm.ActivityRecord#inSizeCompatMode - */ - void onSizeCompatModeActivityChanged(int displayId, in IBinder activityToken); - - /** * Reports that an Activity received a back key press when there were no additional activities * on the back stack. * diff --git a/core/java/android/app/TaskStackListener.java b/core/java/android/app/TaskStackListener.java index d1b544d77951..517ae24b75a6 100644 --- a/core/java/android/app/TaskStackListener.java +++ b/core/java/android/app/TaskStackListener.java @@ -21,7 +21,6 @@ import android.compat.annotation.UnsupportedAppUsage; import android.content.ComponentName; import android.os.Binder; import android.os.Build; -import android.os.IBinder; import android.os.RemoteException; import android.window.TaskSnapshot; @@ -163,12 +162,6 @@ public abstract class TaskStackListener extends ITaskStackListener.Stub { } @Override - @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.R, trackingBug = 170729553) - public void onSizeCompatModeActivityChanged(int displayId, IBinder activityToken) - throws RemoteException { - } - - @Override public void onBackPressedOnTaskRoot(RunningTaskInfo taskInfo) throws RemoteException { } |
