diff options
| author | 2017-01-07 02:50:17 +0000 | |
|---|---|---|
| committer | 2017-01-07 02:50:17 +0000 | |
| commit | 89f96e8fa4c64a34d2b249fddb8d257c0798e0df (patch) | |
| tree | a9ef2cd237f4dda8673c91d29bebca4589a98670 | |
| parent | cb4f643b95e4562ce20211cb57e3302b5cf0990b (diff) | |
| parent | eedb6955799051aaf32d1844bdface42fe300404 (diff) | |
Docs: Updates Javadoc documentation. Bug: 32532540 am: 2a3ebadcbe am: e0fd4c8a3b am: a111e0f7f0
am: eedb695579
Change-Id: Icd2ded633cf7211ef9d1a2106216450db7773408
| -rw-r--r-- | core/java/android/app/ActivityManager.java | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/core/java/android/app/ActivityManager.java b/core/java/android/app/ActivityManager.java index af981f69d3b6..0440be6dbd40 100644 --- a/core/java/android/app/ActivityManager.java +++ b/core/java/android/app/ActivityManager.java @@ -75,7 +75,39 @@ import java.util.ArrayList; import java.util.List; /** - * Interact with the overall activities running in the system. + * <p> + * This class gives information about, and interacts + * with, activities, services, and the containing + * process. + * </p> + * + * <p> + * A number of the methods in this class are for + * debugging or informational purposes and they should + * not be used to affect any runtime behavior of + * your app. These methods are called out as such in + * the method level documentation. + * </p> + * + *<p> + * Most application developers should not have the need to + * use this class, most of whose methods are for specialized + * use cases. However, a few methods are more broadly applicable. + * For instance, {@link android.app.ActivityManager#isLowRamDevice() isLowRamDevice()} + * enables your app to detect whether it is running on a low-memory device, + * and behave accordingly. + * {@link android.app.ActivityManager#clearApplicationUserData() clearApplicationUserData()} + * is for apps with reset-data functionality. + * </p> + * + * <p> + * In some special use cases, where an app interacts with + * its Task stack, the app may use the + * {@link android.app.ActivityManager.AppTask} and + * {@link android.app.ActivityManager.RecentTaskInfo} inner + * classes. However, in general, the methods in this class should + * be used for testing and debugging purposes only. + * </p> */ public class ActivityManager { private static String TAG = "ActivityManager"; |