Merge "Import ActivityManager inner classes directly" into tm-qpr-dev

This commit is contained in:
TreeHugger Robot
2022-10-18 18:51:19 +00:00
committed by Android (Google) Code Review
2 changed files with 6 additions and 6 deletions

View File

@@ -16,7 +16,7 @@
package com.android.wm.shell.recents;
import android.app.ActivityManager;
import android.app.ActivityManager.RunningTaskInfo;
import com.android.wm.shell.recents.IRecentTasksListener;
import com.android.wm.shell.util.GroupedRecentTaskInfo;
@@ -44,5 +44,5 @@ interface IRecentTasks {
/**
* Gets the set of running tasks.
*/
ActivityManager.RunningTaskInfo[] getRunningTasks(int maxNum) = 4;
RunningTaskInfo[] getRunningTasks(int maxNum) = 4;
}

View File

@@ -16,7 +16,7 @@
package com.android.wm.shell.recents;
import android.app.ActivityManager;
import android.app.ActivityManager.RunningTaskInfo;
/**
* Listener interface that Launcher attaches to SystemUI to get split-screen callbacks.
@@ -31,10 +31,10 @@ oneway interface IRecentTasksListener {
/**
* Called when a running task appears.
*/
void onRunningTaskAppeared(in ActivityManager.RunningTaskInfo taskInfo);
void onRunningTaskAppeared(in RunningTaskInfo taskInfo);
/**
* Called when a running task vanishes.
*/
void onRunningTaskVanished(in ActivityManager.RunningTaskInfo taskInfo);
}
void onRunningTaskVanished(in RunningTaskInfo taskInfo);
}