Merge "Import ActivityManager inner classes directly" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
5be30d7d29
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
package com.android.wm.shell.recents;
|
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.recents.IRecentTasksListener;
|
||||||
import com.android.wm.shell.util.GroupedRecentTaskInfo;
|
import com.android.wm.shell.util.GroupedRecentTaskInfo;
|
||||||
@@ -44,5 +44,5 @@ interface IRecentTasks {
|
|||||||
/**
|
/**
|
||||||
* Gets the set of running tasks.
|
* Gets the set of running tasks.
|
||||||
*/
|
*/
|
||||||
ActivityManager.RunningTaskInfo[] getRunningTasks(int maxNum) = 4;
|
RunningTaskInfo[] getRunningTasks(int maxNum) = 4;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
package com.android.wm.shell.recents;
|
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.
|
* 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.
|
* Called when a running task appears.
|
||||||
*/
|
*/
|
||||||
void onRunningTaskAppeared(in ActivityManager.RunningTaskInfo taskInfo);
|
void onRunningTaskAppeared(in RunningTaskInfo taskInfo);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called when a running task vanishes.
|
* Called when a running task vanishes.
|
||||||
*/
|
*/
|
||||||
void onRunningTaskVanished(in ActivityManager.RunningTaskInfo taskInfo);
|
void onRunningTaskVanished(in RunningTaskInfo taskInfo);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user