diff options
author | Dianne Hackborn <hackbod@google.com> | 2010-04-13 12:49:14 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2010-04-13 17:35:22 -0700 |
commit | 53d9264de4f99a069dd7306f881d28ddd5956b35 (patch) | |
tree | 4d5e68203618529f03911a610052064826e25550 /core | |
parent | ba6339fe2ba2d7325a99201e82d951064efa31a2 (diff) | |
download | frameworks_base-53d9264de4f99a069dd7306f881d28ddd5956b35.zip frameworks_base-53d9264de4f99a069dd7306f881d28ddd5956b35.tar.gz frameworks_base-53d9264de4f99a069dd7306f881d28ddd5956b35.tar.bz2 |
Fix issue #2555171: Switching to app immediately after unmounting...
...SD card causes reboot.
Add option to not include temporarily unavailable recent tasks,
for the recent tasks UI to not display them.
Change-Id: I1495ca217b4292fd56f537459b44c0624262c292
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/app/ActivityManager.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java/android/app/ActivityManager.java b/core/java/android/app/ActivityManager.java index b3223e5..c9096cf 100644 --- a/core/java/android/app/ActivityManager.java +++ b/core/java/android/app/ActivityManager.java @@ -145,6 +145,13 @@ public class ActivityManager { public static final int RECENT_WITH_EXCLUDED = 0x0001; /** + * @hide + * TODO: Make this public. Provides a list that does not contain any + * recent tasks that currently are not available to the user. + */ + public static final int RECENT_IGNORE_UNAVAILABLE = 0x0002; + + /** * Return a list of the tasks that the user has recently launched, with * the most recent being first and older ones after in order. * |