Loading core/java/android/app/Activity.java +9 −3 Original line number Diff line number Diff line Loading @@ -111,9 +111,15 @@ import java.util.HashMap; * * <p>The Activity class is an important part of an application's overall lifecycle, * and the way activities are launched and put together is a fundamental * part of the platform's application model. For a detailed perspective on the structure of * Android applications and lifecycles, please read the <em>Dev Guide</em> document on * <a href="{@docRoot}guide/topics/fundamentals.html">Application Fundamentals</a>.</p> * part of the platform's application model. For a detailed perspective on the structure of an * Android application and how activities behave, please read the * <a href="{@docRoot}guide/topics/fundamentals.html">Application Fundamentals</a> and * <a href="{@docRoot}guide/topics/fundamentals/tasks-and-back-stack.html">Tasks and Back Stack</a> * documents.</p> * * <p>You can also find a detailed discussion about how to create activities in the * <a href="{@docRoot}guide/topics/fundamentals/activities.html">Activities</a> * document.</p> * * <p>Topics covered here: * <ol> Loading core/java/android/app/Notification.java +6 −5 Original line number Diff line number Diff line Loading @@ -106,9 +106,9 @@ public class Notification implements Parcelable * The intent to execute when the expanded status entry is clicked. If * this is an activity, it must include the * {@link android.content.Intent#FLAG_ACTIVITY_NEW_TASK} flag, which requires * that you take care of task management as described in the <em>Activities and Tasks</em> * section of the <a href="{@docRoot}guide/topics/fundamentals.html#acttask">Application * Fundamentals</a> document. * that you take care of task management as described in the * <a href="{@docRoot}guide/topics/fundamentals/tasks-and-back-stack.html">Tasks and Back * Stack</a> document. */ public PendingIntent contentIntent; Loading Loading @@ -540,8 +540,9 @@ public class Notification implements Parcelable * @param contentIntent The intent to launch when the user clicks the expanded notification. * If this is an activity, it must include the * {@link android.content.Intent#FLAG_ACTIVITY_NEW_TASK} flag, which requires * that you take care of task management as described in * <a href="{@docRoot}guide/topics/fundamentals.html#lcycles">Application Fundamentals: Activities and Tasks</a>. * that you take care of task management as described in the * <a href="{@docRoot}guide/topics/fundamentals/tasks-and-back-stack.html">Tasks and Back * Stack</a> document. * * @deprecated Use {@link Builder} instead. */ Loading core/java/android/app/Service.java +9 −8 Original line number Diff line number Diff line Loading @@ -46,13 +46,14 @@ import java.io.PrintWriter; * to do any CPU intensive (such as MP3 playback) or blocking (such as * networking) operations, it should spawn its own thread in which to do that * work. More information on this can be found in * <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>. The {@link IntentService} class is available * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html">Processes and * Threads</a>. The {@link IntentService} class is available * as a standard implementation of Service that has its own thread where it * schedules its work to be done.</p> * * <p>The Service class is an important part of an * <a href="{@docRoot}guide/topics/fundamentals.html#lcycles">application's overall lifecycle</a>.</p> * <p>You can find a detailed discussion about how to create services in the * <a href="{@docRoot}guide/topics/fundamentals/services.html">Services</a> * document.</p> * * <p>Topics covered here: * <ol> Loading Loading @@ -453,9 +454,9 @@ public abstract class Service extends ContextWrapper implements ComponentCallbac * * <p><em>Note that unlike other application components, calls on to the * IBinder interface returned here may not happen on the main thread * of the process</em>. More information about this can be found * in <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>.</p> * of the process</em>. More information about the main thread can be found in * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html">Processes and * Threads</a>.</p> * * @param intent The Intent that was used to bind to this service, * as given to {@link android.content.Context#bindService Loading core/java/android/content/ContentProvider.java +24 −24 Original line number Diff line number Diff line Loading @@ -389,8 +389,8 @@ public abstract class ContentProvider implements ComponentCallbacks { * Return the name of the permission required for read-only access to * this content provider. This method can be called from multiple * threads, as described in * <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>. * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html#Threads">Processes * and Threads</a>. */ public final String getReadPermission() { return mReadPermission; Loading @@ -411,8 +411,8 @@ public abstract class ContentProvider implements ComponentCallbacks { * Return the name of the permission required for read/write access to * this content provider. This method can be called from multiple * threads, as described in * <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>. * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html#Threads">Processes * and Threads</a>. */ public final String getWritePermission() { return mWritePermission; Loading @@ -433,8 +433,8 @@ public abstract class ContentProvider implements ComponentCallbacks { * Return the path-based permissions required for read and/or write access to * this content provider. This method can be called from multiple * threads, as described in * <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>. * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html#Threads">Processes * and Threads</a>. */ public final PathPermission[] getPathPermissions() { return mPathPermissions; Loading Loading @@ -494,8 +494,8 @@ public abstract class ContentProvider implements ComponentCallbacks { /** * Implement this to handle query requests from clients. * This method can be called from multiple threads, as described in * <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>. * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html#Threads">Processes * and Threads</a>. * <p> * Example client call:<p> * <pre>// Request a specific record. Loading Loading @@ -555,8 +555,8 @@ public abstract class ContentProvider implements ComponentCallbacks { * <code>vnd.android.cursor.item</code> for a single record, * or <code>vnd.android.cursor.dir/</code> for multiple items. * This method can be called from multiple threads, as described in * <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>. * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html#Threads">Processes * and Threads</a>. * * <p>Note that there are no permissions needed for an application to * access this information; if your content provider requires read and/or Loading @@ -574,8 +574,8 @@ public abstract class ContentProvider implements ComponentCallbacks { * As a courtesy, call {@link ContentResolver#notifyChange(android.net.Uri ,android.database.ContentObserver) notifyChange()} * after inserting. * This method can be called from multiple threads, as described in * <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>. * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html#Threads">Processes * and Threads</a>. * @param uri The content:// URI of the insertion request. * @param values A set of column_name/value pairs to add to the database. * @return The URI for the newly inserted item. Loading @@ -589,8 +589,8 @@ public abstract class ContentProvider implements ComponentCallbacks { * As a courtesy, call {@link ContentResolver#notifyChange(android.net.Uri ,android.database.ContentObserver) notifyChange()} * after inserting. * This method can be called from multiple threads, as described in * <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>. * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html#Threads">Processes * and Threads</a>. * * @param uri The content:// URI of the insertion request. * @param values An array of sets of column_name/value pairs to add to the database. Loading @@ -611,8 +611,8 @@ public abstract class ContentProvider implements ComponentCallbacks { * As a courtesy, call {@link ContentResolver#notifyChange(android.net.Uri ,android.database.ContentObserver) notifyDelete()} * after deleting. * This method can be called from multiple threads, as described in * <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>. * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html#Threads">Processes * and Threads</a>. * * <p>The implementation is responsible for parsing out a row ID at the end * of the URI, if a specific row is being deleted. That is, the client would Loading @@ -633,8 +633,8 @@ public abstract class ContentProvider implements ComponentCallbacks { * As a courtesy, call {@link ContentResolver#notifyChange(android.net.Uri ,android.database.ContentObserver) notifyChange()} * after updating. * This method can be called from multiple threads, as described in * <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>. * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html#Threads">Processes * and Threads</a>. * * @param uri The URI to query. This can potentially have a record ID if this * is an update request for a specific record. Loading @@ -650,8 +650,8 @@ public abstract class ContentProvider implements ComponentCallbacks { * Override this to handle requests to open a file blob. * The default implementation always throws {@link FileNotFoundException}. * This method can be called from multiple threads, as described in * <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>. * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html#Threads">Processes * and Threads</a>. * * <p>This method returns a ParcelFileDescriptor, which is returned directly * to the caller. This way large data (such as images and documents) can be Loading Loading @@ -688,8 +688,8 @@ public abstract class ContentProvider implements ComponentCallbacks { * that need to be able to return sub-sections of files, often assets * inside of their .apk. * This method can be called from multiple threads, as described in * <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>. * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html#Threads">Processes * and Threads</a>. * * <p>If you implement this, your clients must be able to deal with such * file slices, either directly with Loading Loading @@ -965,8 +965,8 @@ public abstract class ContentProvider implements ComponentCallbacks { * elements as there were operations will be returned. If any of the calls * fail, it is up to the implementation how many of the others take effect. * This method can be called from multiple threads, as described in * <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>. * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html#Threads">Processes * and Threads</a>. * * @param operations the operations to apply * @return the results of the applications Loading core/java/android/content/Intent.java +11 −8 Original line number Diff line number Diff line Loading @@ -2462,8 +2462,8 @@ public class Intent implements Parcelable, Cloneable { * user can move to. Tasks can be moved to the foreground and background; * all of the activities inside of a particular task always remain in * the same order. See * <a href="{@docRoot}guide/topics/fundamentals.html#acttask">Application Fundamentals: * Activities and Tasks</a> for more details on tasks. * <a href="{@docRoot}guide/topics/fundamentals/tasks-and-back-stack.html">Tasks and Back * Stack</a> for more information about tasks. * * <p>This flag is generally used by activities that want * to present a "launcher" style behavior: they give the user a list of Loading Loading @@ -2496,8 +2496,9 @@ public class Intent implements Parcelable, Cloneable { * <p>This flag is ignored if * {@link #FLAG_ACTIVITY_NEW_TASK} is not set. * * <p>See <a href="{@docRoot}guide/topics/fundamentals.html#acttask">Application Fundamentals: * Activities and Tasks</a> for more details on tasks. * <p>See * <a href="{@docRoot}guide/topics/fundamentals/tasks-and-back-stack.html">Tasks and Back * Stack</a> for more information about tasks. */ public static final int FLAG_ACTIVITY_MULTIPLE_TASK = 0x08000000; /** Loading Loading @@ -2527,8 +2528,9 @@ public class Intent implements Parcelable, Cloneable { * especially useful, for example, when launching an activity from the * notification manager. * * <p>See <a href="{@docRoot}guide/topics/fundamentals.html#acttask">Application Fundamentals: * Activities and Tasks</a> for more details on tasks. * <p>See * <a href="{@docRoot}guide/topics/fundamentals/tasks-and-back-stack.html">Tasks and Back * Stack</a> for more information about tasks. */ public static final int FLAG_ACTIVITY_CLEAR_TOP = 0x04000000; /** Loading Loading @@ -4938,8 +4940,9 @@ public class Intent implements Parcelable, Cloneable { * FLAG_RECEIVER_* flags are all for use with * {@link Context#sendBroadcast(Intent) Context.sendBroadcast()}. * * <p>See the <a href="{@docRoot}guide/topics/fundamentals.html#acttask">Application Fundamentals: * Activities and Tasks</a> documentation for important information on how some of these options impact * <p>See the * <a href="{@docRoot}guide/topics/fundamentals/tasks-and-back-stack.html">Tasks and Back * Stack</a> documentation for important information on how some of these options impact * the behavior of your application. * * @param flags The desired flags. Loading Loading
core/java/android/app/Activity.java +9 −3 Original line number Diff line number Diff line Loading @@ -111,9 +111,15 @@ import java.util.HashMap; * * <p>The Activity class is an important part of an application's overall lifecycle, * and the way activities are launched and put together is a fundamental * part of the platform's application model. For a detailed perspective on the structure of * Android applications and lifecycles, please read the <em>Dev Guide</em> document on * <a href="{@docRoot}guide/topics/fundamentals.html">Application Fundamentals</a>.</p> * part of the platform's application model. For a detailed perspective on the structure of an * Android application and how activities behave, please read the * <a href="{@docRoot}guide/topics/fundamentals.html">Application Fundamentals</a> and * <a href="{@docRoot}guide/topics/fundamentals/tasks-and-back-stack.html">Tasks and Back Stack</a> * documents.</p> * * <p>You can also find a detailed discussion about how to create activities in the * <a href="{@docRoot}guide/topics/fundamentals/activities.html">Activities</a> * document.</p> * * <p>Topics covered here: * <ol> Loading
core/java/android/app/Notification.java +6 −5 Original line number Diff line number Diff line Loading @@ -106,9 +106,9 @@ public class Notification implements Parcelable * The intent to execute when the expanded status entry is clicked. If * this is an activity, it must include the * {@link android.content.Intent#FLAG_ACTIVITY_NEW_TASK} flag, which requires * that you take care of task management as described in the <em>Activities and Tasks</em> * section of the <a href="{@docRoot}guide/topics/fundamentals.html#acttask">Application * Fundamentals</a> document. * that you take care of task management as described in the * <a href="{@docRoot}guide/topics/fundamentals/tasks-and-back-stack.html">Tasks and Back * Stack</a> document. */ public PendingIntent contentIntent; Loading Loading @@ -540,8 +540,9 @@ public class Notification implements Parcelable * @param contentIntent The intent to launch when the user clicks the expanded notification. * If this is an activity, it must include the * {@link android.content.Intent#FLAG_ACTIVITY_NEW_TASK} flag, which requires * that you take care of task management as described in * <a href="{@docRoot}guide/topics/fundamentals.html#lcycles">Application Fundamentals: Activities and Tasks</a>. * that you take care of task management as described in the * <a href="{@docRoot}guide/topics/fundamentals/tasks-and-back-stack.html">Tasks and Back * Stack</a> document. * * @deprecated Use {@link Builder} instead. */ Loading
core/java/android/app/Service.java +9 −8 Original line number Diff line number Diff line Loading @@ -46,13 +46,14 @@ import java.io.PrintWriter; * to do any CPU intensive (such as MP3 playback) or blocking (such as * networking) operations, it should spawn its own thread in which to do that * work. More information on this can be found in * <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>. The {@link IntentService} class is available * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html">Processes and * Threads</a>. The {@link IntentService} class is available * as a standard implementation of Service that has its own thread where it * schedules its work to be done.</p> * * <p>The Service class is an important part of an * <a href="{@docRoot}guide/topics/fundamentals.html#lcycles">application's overall lifecycle</a>.</p> * <p>You can find a detailed discussion about how to create services in the * <a href="{@docRoot}guide/topics/fundamentals/services.html">Services</a> * document.</p> * * <p>Topics covered here: * <ol> Loading Loading @@ -453,9 +454,9 @@ public abstract class Service extends ContextWrapper implements ComponentCallbac * * <p><em>Note that unlike other application components, calls on to the * IBinder interface returned here may not happen on the main thread * of the process</em>. More information about this can be found * in <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>.</p> * of the process</em>. More information about the main thread can be found in * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html">Processes and * Threads</a>.</p> * * @param intent The Intent that was used to bind to this service, * as given to {@link android.content.Context#bindService Loading
core/java/android/content/ContentProvider.java +24 −24 Original line number Diff line number Diff line Loading @@ -389,8 +389,8 @@ public abstract class ContentProvider implements ComponentCallbacks { * Return the name of the permission required for read-only access to * this content provider. This method can be called from multiple * threads, as described in * <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>. * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html#Threads">Processes * and Threads</a>. */ public final String getReadPermission() { return mReadPermission; Loading @@ -411,8 +411,8 @@ public abstract class ContentProvider implements ComponentCallbacks { * Return the name of the permission required for read/write access to * this content provider. This method can be called from multiple * threads, as described in * <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>. * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html#Threads">Processes * and Threads</a>. */ public final String getWritePermission() { return mWritePermission; Loading @@ -433,8 +433,8 @@ public abstract class ContentProvider implements ComponentCallbacks { * Return the path-based permissions required for read and/or write access to * this content provider. This method can be called from multiple * threads, as described in * <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>. * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html#Threads">Processes * and Threads</a>. */ public final PathPermission[] getPathPermissions() { return mPathPermissions; Loading Loading @@ -494,8 +494,8 @@ public abstract class ContentProvider implements ComponentCallbacks { /** * Implement this to handle query requests from clients. * This method can be called from multiple threads, as described in * <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>. * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html#Threads">Processes * and Threads</a>. * <p> * Example client call:<p> * <pre>// Request a specific record. Loading Loading @@ -555,8 +555,8 @@ public abstract class ContentProvider implements ComponentCallbacks { * <code>vnd.android.cursor.item</code> for a single record, * or <code>vnd.android.cursor.dir/</code> for multiple items. * This method can be called from multiple threads, as described in * <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>. * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html#Threads">Processes * and Threads</a>. * * <p>Note that there are no permissions needed for an application to * access this information; if your content provider requires read and/or Loading @@ -574,8 +574,8 @@ public abstract class ContentProvider implements ComponentCallbacks { * As a courtesy, call {@link ContentResolver#notifyChange(android.net.Uri ,android.database.ContentObserver) notifyChange()} * after inserting. * This method can be called from multiple threads, as described in * <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>. * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html#Threads">Processes * and Threads</a>. * @param uri The content:// URI of the insertion request. * @param values A set of column_name/value pairs to add to the database. * @return The URI for the newly inserted item. Loading @@ -589,8 +589,8 @@ public abstract class ContentProvider implements ComponentCallbacks { * As a courtesy, call {@link ContentResolver#notifyChange(android.net.Uri ,android.database.ContentObserver) notifyChange()} * after inserting. * This method can be called from multiple threads, as described in * <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>. * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html#Threads">Processes * and Threads</a>. * * @param uri The content:// URI of the insertion request. * @param values An array of sets of column_name/value pairs to add to the database. Loading @@ -611,8 +611,8 @@ public abstract class ContentProvider implements ComponentCallbacks { * As a courtesy, call {@link ContentResolver#notifyChange(android.net.Uri ,android.database.ContentObserver) notifyDelete()} * after deleting. * This method can be called from multiple threads, as described in * <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>. * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html#Threads">Processes * and Threads</a>. * * <p>The implementation is responsible for parsing out a row ID at the end * of the URI, if a specific row is being deleted. That is, the client would Loading @@ -633,8 +633,8 @@ public abstract class ContentProvider implements ComponentCallbacks { * As a courtesy, call {@link ContentResolver#notifyChange(android.net.Uri ,android.database.ContentObserver) notifyChange()} * after updating. * This method can be called from multiple threads, as described in * <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>. * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html#Threads">Processes * and Threads</a>. * * @param uri The URI to query. This can potentially have a record ID if this * is an update request for a specific record. Loading @@ -650,8 +650,8 @@ public abstract class ContentProvider implements ComponentCallbacks { * Override this to handle requests to open a file blob. * The default implementation always throws {@link FileNotFoundException}. * This method can be called from multiple threads, as described in * <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>. * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html#Threads">Processes * and Threads</a>. * * <p>This method returns a ParcelFileDescriptor, which is returned directly * to the caller. This way large data (such as images and documents) can be Loading Loading @@ -688,8 +688,8 @@ public abstract class ContentProvider implements ComponentCallbacks { * that need to be able to return sub-sections of files, often assets * inside of their .apk. * This method can be called from multiple threads, as described in * <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>. * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html#Threads">Processes * and Threads</a>. * * <p>If you implement this, your clients must be able to deal with such * file slices, either directly with Loading Loading @@ -965,8 +965,8 @@ public abstract class ContentProvider implements ComponentCallbacks { * elements as there were operations will be returned. If any of the calls * fail, it is up to the implementation how many of the others take effect. * This method can be called from multiple threads, as described in * <a href="{@docRoot}guide/topics/fundamentals.html#procthread">Application Fundamentals: * Processes and Threads</a>. * <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html#Threads">Processes * and Threads</a>. * * @param operations the operations to apply * @return the results of the applications Loading
core/java/android/content/Intent.java +11 −8 Original line number Diff line number Diff line Loading @@ -2462,8 +2462,8 @@ public class Intent implements Parcelable, Cloneable { * user can move to. Tasks can be moved to the foreground and background; * all of the activities inside of a particular task always remain in * the same order. See * <a href="{@docRoot}guide/topics/fundamentals.html#acttask">Application Fundamentals: * Activities and Tasks</a> for more details on tasks. * <a href="{@docRoot}guide/topics/fundamentals/tasks-and-back-stack.html">Tasks and Back * Stack</a> for more information about tasks. * * <p>This flag is generally used by activities that want * to present a "launcher" style behavior: they give the user a list of Loading Loading @@ -2496,8 +2496,9 @@ public class Intent implements Parcelable, Cloneable { * <p>This flag is ignored if * {@link #FLAG_ACTIVITY_NEW_TASK} is not set. * * <p>See <a href="{@docRoot}guide/topics/fundamentals.html#acttask">Application Fundamentals: * Activities and Tasks</a> for more details on tasks. * <p>See * <a href="{@docRoot}guide/topics/fundamentals/tasks-and-back-stack.html">Tasks and Back * Stack</a> for more information about tasks. */ public static final int FLAG_ACTIVITY_MULTIPLE_TASK = 0x08000000; /** Loading Loading @@ -2527,8 +2528,9 @@ public class Intent implements Parcelable, Cloneable { * especially useful, for example, when launching an activity from the * notification manager. * * <p>See <a href="{@docRoot}guide/topics/fundamentals.html#acttask">Application Fundamentals: * Activities and Tasks</a> for more details on tasks. * <p>See * <a href="{@docRoot}guide/topics/fundamentals/tasks-and-back-stack.html">Tasks and Back * Stack</a> for more information about tasks. */ public static final int FLAG_ACTIVITY_CLEAR_TOP = 0x04000000; /** Loading Loading @@ -4938,8 +4940,9 @@ public class Intent implements Parcelable, Cloneable { * FLAG_RECEIVER_* flags are all for use with * {@link Context#sendBroadcast(Intent) Context.sendBroadcast()}. * * <p>See the <a href="{@docRoot}guide/topics/fundamentals.html#acttask">Application Fundamentals: * Activities and Tasks</a> documentation for important information on how some of these options impact * <p>See the * <a href="{@docRoot}guide/topics/fundamentals/tasks-and-back-stack.html">Tasks and Back * Stack</a> documentation for important information on how some of these options impact * the behavior of your application. * * @param flags The desired flags. Loading