Import ActivityManager inner classes directly

Test: studiow
Bug: 251871740
Bug: 236188940
Change-Id: I91cb52184a896529fbe0a26a09df0686dccac7de
This commit is contained in:
Peter Kalauskas
2022-10-07 14:30:25 -07:00
parent c92260f21c
commit d55e3bc286
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);
}