diff options
author | Winson Chung <winsonc@google.com> | 2014-05-14 11:05:00 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2014-05-14 12:11:01 -0700 |
commit | 1147c406515bbfbcb7dbd750f81c7a5de928c5c6 (patch) | |
tree | 23907ba99f99780028fc82bb254f42cd6b11b5dc /api | |
parent | 9e317da9364bae6a7d40c94cd46748b2255c7e1e (diff) | |
download | frameworks_base-1147c406515bbfbcb7dbd750f81c7a5de928c5c6.zip frameworks_base-1147c406515bbfbcb7dbd750f81c7a5de928c5c6.tar.gz frameworks_base-1147c406515bbfbcb7dbd750f81c7a5de928c5c6.tar.bz2 |
Adding method for applications to query their own tasks. (Bug 14627210)
Change-Id: I33299bf59784849171b19af4a5be2ab7665581c5
Diffstat (limited to 'api')
-rw-r--r-- | api/current.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt index ffcadfc..b802c3b 100644 --- a/api/current.txt +++ b/api/current.txt @@ -3403,6 +3403,7 @@ package android.app { public class ActivityManager { method public boolean clearApplicationUserData(); method public void dumpPackageState(java.io.FileDescriptor, java.lang.String); + method public java.util.List<android.app.ActivityManager.AppTask> getAppTasks(); method public android.content.pm.ConfigurationInfo getDeviceConfigurationInfo(); method public int getLargeMemoryClass(); method public int getLauncherLargeIconDensity(); @@ -3431,6 +3432,11 @@ package android.app { field public static final int RECENT_WITH_EXCLUDED = 1; // 0x1 } + public static class ActivityManager.AppTask { + method public void finishAndRemoveTask(); + method public android.app.ActivityManager.RecentTaskInfo getTaskInfo(); + } + public static class ActivityManager.MemoryInfo implements android.os.Parcelable { ctor public ActivityManager.MemoryInfo(); method public int describeContents(); |