am 19840a8d: am 65c66c74: am 6e6e861a: Merge "Doc change: Fix typo DONT_DELTE" into jb-mr1.1-docs

* commit '19840a8d40139a12469ef92c3541f2a433d5ae85':
  Doc change: Fix typo DONT_DELTE
This commit is contained in:
kmccormick
2013-03-27 18:57:27 -07:00
committed by Android Git Automerger

View File

@@ -45,7 +45,7 @@ public abstract class PackageManager {
/** /**
* This exception is thrown when a given package, application, or component * This exception is thrown when a given package, application, or component
* name can not be found. * name cannot be found.
*/ */
public static class NameNotFoundException extends AndroidException { public static class NameNotFoundException extends AndroidException {
public NameNotFoundException() { public NameNotFoundException() {
@@ -259,7 +259,7 @@ public abstract class PackageManager {
* user has explicitly disabled the application, regardless of what it has * user has explicitly disabled the application, regardless of what it has
* specified in its manifest. Because this is due to the user's request, * specified in its manifest. Because this is due to the user's request,
* they may re-enable it if desired through the appropriate system UI. This * they may re-enable it if desired through the appropriate system UI. This
* option currently <strong>can not</strong> be used with * option currently <strong>cannot</strong> be used with
* {@link #setComponentEnabledSetting(ComponentName, int, int)}. * {@link #setComponentEnabledSetting(ComponentName, int, int)}.
*/ */
public static final int COMPONENT_ENABLED_STATE_DISABLED_USER = 3; public static final int COMPONENT_ENABLED_STATE_DISABLED_USER = 3;
@@ -1210,9 +1210,9 @@ public abstract class PackageManager {
* package. If flag GET_UNINSTALLED_PACKAGES is set and if the * package. If flag GET_UNINSTALLED_PACKAGES is set and if the
* package is not found in the list of installed applications, the * package is not found in the list of installed applications, the
* package information is retrieved from the list of uninstalled * package information is retrieved from the list of uninstalled
* applications(which includes installed applications as well as * applications (which includes installed applications as well as
* applications with data directory ie applications which had been * applications with data directory i.e. applications which had been
* deleted with DONT_DELTE_DATA flag set). * deleted with {@code DONT_DELETE_DATA} flag set).
* @see #GET_ACTIVITIES * @see #GET_ACTIVITIES
* @see #GET_GIDS * @see #GET_GIDS
* @see #GET_CONFIGURATIONS * @see #GET_CONFIGURATIONS
@@ -1253,7 +1253,7 @@ public abstract class PackageManager {
* null if neither are found. * null if neither are found.
* *
* <p>Throws {@link NameNotFoundException} if a package with the given * <p>Throws {@link NameNotFoundException} if a package with the given
* name can not be found on the system. * name cannot be found on the system.
* *
* @param packageName The name of the package to inspect. * @param packageName The name of the package to inspect.
* *
@@ -1268,7 +1268,7 @@ public abstract class PackageManager {
* assigned to a package. * assigned to a package.
* *
* <p>Throws {@link NameNotFoundException} if a package with the given * <p>Throws {@link NameNotFoundException} if a package with the given
* name can not be found on the system. * name cannot be found on the system.
* *
* @param packageName The full name (i.e. com.google.apps.contacts) of the * @param packageName The full name (i.e. com.google.apps.contacts) of the
* desired package. * desired package.
@@ -1283,7 +1283,7 @@ public abstract class PackageManager {
* Retrieve all of the information we know about a particular permission. * Retrieve all of the information we know about a particular permission.
* *
* <p>Throws {@link NameNotFoundException} if a permission with the given * <p>Throws {@link NameNotFoundException} if a permission with the given
* name can not be found on the system. * name cannot be found on the system.
* *
* @param name The fully qualified name (i.e. com.google.permission.LOGIN) * @param name The fully qualified name (i.e. com.google.permission.LOGIN)
* of the permission you are interested in. * of the permission you are interested in.
@@ -1319,7 +1319,7 @@ public abstract class PackageManager {
* permissions. * permissions.
* *
* <p>Throws {@link NameNotFoundException} if a permission group with the given * <p>Throws {@link NameNotFoundException} if a permission group with the given
* name can not be found on the system. * name cannot be found on the system.
* *
* @param name The fully qualified name (i.e. com.google.permission_group.APPS) * @param name The fully qualified name (i.e. com.google.permission_group.APPS)
* of the permission you are interested in. * of the permission you are interested in.
@@ -1348,7 +1348,7 @@ public abstract class PackageManager {
* package/application. * package/application.
* *
* <p>Throws {@link NameNotFoundException} if an application with the given * <p>Throws {@link NameNotFoundException} if an application with the given
* package name can not be found on the system. * package name cannot be found on the system.
* *
* @param packageName The full name (i.e. com.google.apps.contacts) of an * @param packageName The full name (i.e. com.google.apps.contacts) of an
* application. * application.
@@ -1364,7 +1364,7 @@ public abstract class PackageManager {
* list of uninstalled applications(which includes * list of uninstalled applications(which includes
* installed applications as well as applications * installed applications as well as applications
* with data directory ie applications which had been * with data directory ie applications which had been
* deleted with DONT_DELTE_DATA flag set). * deleted with {@code DONT_DELETE_DATA} flag set).
* *
* @see #GET_META_DATA * @see #GET_META_DATA
* @see #GET_SHARED_LIBRARY_FILES * @see #GET_SHARED_LIBRARY_FILES
@@ -1378,7 +1378,7 @@ public abstract class PackageManager {
* class. * class.
* *
* <p>Throws {@link NameNotFoundException} if an activity with the given * <p>Throws {@link NameNotFoundException} if an activity with the given
* class name can not be found on the system. * class name cannot be found on the system.
* *
* @param component The full component name (i.e. * @param component The full component name (i.e.
* com.google.apps.contacts/com.google.apps.contacts.ContactsList) of an Activity * com.google.apps.contacts/com.google.apps.contacts.ContactsList) of an Activity
@@ -1401,7 +1401,7 @@ public abstract class PackageManager {
* class. * class.
* *
* <p>Throws {@link NameNotFoundException} if a receiver with the given * <p>Throws {@link NameNotFoundException} if a receiver with the given
* class name can not be found on the system. * class name cannot be found on the system.
* *
* @param component The full component name (i.e. * @param component The full component name (i.e.
* com.google.apps.calendar/com.google.apps.calendar.CalendarAlarm) of a Receiver * com.google.apps.calendar/com.google.apps.calendar.CalendarAlarm) of a Receiver
@@ -1424,7 +1424,7 @@ public abstract class PackageManager {
* class. * class.
* *
* <p>Throws {@link NameNotFoundException} if a service with the given * <p>Throws {@link NameNotFoundException} if a service with the given
* class name can not be found on the system. * class name cannot be found on the system.
* *
* @param component The full component name (i.e. * @param component The full component name (i.e.
* com.google.apps.media/com.google.apps.media.BackgroundPlayback) of a Service * com.google.apps.media/com.google.apps.media.BackgroundPlayback) of a Service
@@ -1446,7 +1446,7 @@ public abstract class PackageManager {
* provider class. * provider class.
* *
* <p>Throws {@link NameNotFoundException} if a provider with the given * <p>Throws {@link NameNotFoundException} if a provider with the given
* class name can not be found on the system. * class name cannot be found on the system.
* *
* @param component The full component name (i.e. * @param component The full component name (i.e.
* com.google.providers.media/com.google.providers.media.MediaProvider) of a * com.google.providers.media/com.google.providers.media.MediaProvider) of a
@@ -1483,7 +1483,7 @@ public abstract class PackageManager {
* installed on the device. In the unlikely case of there being no * installed on the device. In the unlikely case of there being no
* installed packages, an empty list is returned. * installed packages, an empty list is returned.
* If flag GET_UNINSTALLED_PACKAGES is set, a list of all * If flag GET_UNINSTALLED_PACKAGES is set, a list of all
* applications including those deleted with DONT_DELETE_DATA * applications including those deleted with {@code DONT_DELETE_DATA}
* (partially installed apps with data directory) will be returned. * (partially installed apps with data directory) will be returned.
* *
* @see #GET_ACTIVITIES * @see #GET_ACTIVITIES
@@ -1521,7 +1521,7 @@ public abstract class PackageManager {
* installed on the device. In the unlikely case of there being no * installed on the device. In the unlikely case of there being no
* installed packages, an empty list is returned. * installed packages, an empty list is returned.
* If flag GET_UNINSTALLED_PACKAGES is set, a list of all * If flag GET_UNINSTALLED_PACKAGES is set, a list of all
* applications including those deleted with DONT_DELETE_DATA * applications including those deleted with {@code DONT_DELETE_DATA}
* (partially installed apps with data directory) will be returned. * (partially installed apps with data directory) will be returned.
* *
* @see #GET_ACTIVITIES * @see #GET_ACTIVITIES
@@ -1726,7 +1726,7 @@ public abstract class PackageManager {
/** /**
* Return a List of all application packages that are installed on the * Return a List of all application packages that are installed on the
* device. If flag GET_UNINSTALLED_PACKAGES has been set, a list of all * device. If flag GET_UNINSTALLED_PACKAGES has been set, a list of all
* applications including those deleted with DONT_DELETE_DATA(partially * applications including those deleted with {@code DONT_DELETE_DATA} (partially
* installed apps with data directory) will be returned. * installed apps with data directory) will be returned.
* *
* @param flags Additional option flags. Use any combination of * @param flags Additional option flags. Use any combination of
@@ -1737,7 +1737,7 @@ public abstract class PackageManager {
* is installed on the device. In the unlikely case of there being * is installed on the device. In the unlikely case of there being
* no installed applications, an empty list is returned. * no installed applications, an empty list is returned.
* If flag GET_UNINSTALLED_PACKAGES is set, a list of all * If flag GET_UNINSTALLED_PACKAGES is set, a list of all
* applications including those deleted with DONT_DELETE_DATA * applications including those deleted with {@code DONT_DELETE_DATA}
* (partially installed apps with data directory) will be returned. * (partially installed apps with data directory) will be returned.
* *
* @see #GET_META_DATA * @see #GET_META_DATA
@@ -2043,7 +2043,7 @@ public abstract class PackageManager {
* instrumentation class. * instrumentation class.
* *
* <p>Throws {@link NameNotFoundException} if instrumentation with the * <p>Throws {@link NameNotFoundException} if instrumentation with the
* given class name can not be found on the system. * given class name cannot be found on the system.
* *
* @param className The full name (i.e. * @param className The full name (i.e.
* com.google.apps.contacts.InstrumentList) of an * com.google.apps.contacts.InstrumentList) of an
@@ -2080,8 +2080,8 @@ public abstract class PackageManager {
* icon. * icon.
* *
* @param packageName The name of the package that this icon is coming from. * @param packageName The name of the package that this icon is coming from.
* Can not be null. * Cannot be null.
* @param resid The resource identifier of the desired image. Can not be 0. * @param resid The resource identifier of the desired image. Cannot be 0.
* @param appInfo Overall information about <var>packageName</var>. This * @param appInfo Overall information about <var>packageName</var>. This
* may be null, in which case the application information will be retrieved * may be null, in which case the application information will be retrieved
* for you if needed; if you already have this information around, it can * for you if needed; if you already have this information around, it can
@@ -2097,7 +2097,7 @@ public abstract class PackageManager {
* Retrieve the icon associated with an activity. Given the full name of * Retrieve the icon associated with an activity. Given the full name of
* an activity, retrieves the information about it and calls * an activity, retrieves the information about it and calls
* {@link ComponentInfo#loadIcon ComponentInfo.loadIcon()} to return its icon. * {@link ComponentInfo#loadIcon ComponentInfo.loadIcon()} to return its icon.
* If the activity can not be found, NameNotFoundException is thrown. * If the activity cannot be found, NameNotFoundException is thrown.
* *
* @param activityName Name of the activity whose icon is to be retrieved. * @param activityName Name of the activity whose icon is to be retrieved.
* *
@@ -2116,7 +2116,7 @@ public abstract class PackageManager {
* set, this simply returns the result of * set, this simply returns the result of
* getActivityIcon(intent.getClassName()). Otherwise it resolves the intent's * getActivityIcon(intent.getClassName()). Otherwise it resolves the intent's
* component and returns the icon associated with the resolved component. * component and returns the icon associated with the resolved component.
* If intent.getClassName() can not be found or the Intent can not be resolved * If intent.getClassName() cannot be found or the Intent cannot be resolved
* to a component, NameNotFoundException is thrown. * to a component, NameNotFoundException is thrown.
* *
* @param intent The intent for which you would like to retrieve an icon. * @param intent The intent for which you would like to retrieve an icon.
@@ -2155,7 +2155,7 @@ public abstract class PackageManager {
/** /**
* Retrieve the icon associated with an application. Given the name of the * Retrieve the icon associated with an application. Given the name of the
* application's package, retrieves the information about it and calls * application's package, retrieves the information about it and calls
* getApplicationIcon() to return its icon. If the application can not be * getApplicationIcon() to return its icon. If the application cannot be
* found, NameNotFoundException is thrown. * found, NameNotFoundException is thrown.
* *
* @param packageName Name of the package whose application icon is to be * @param packageName Name of the package whose application icon is to be
@@ -2175,7 +2175,7 @@ public abstract class PackageManager {
* Retrieve the logo associated with an activity. Given the full name of * Retrieve the logo associated with an activity. Given the full name of
* an activity, retrieves the information about it and calls * an activity, retrieves the information about it and calls
* {@link ComponentInfo#loadLogo ComponentInfo.loadLogo()} to return its logo. * {@link ComponentInfo#loadLogo ComponentInfo.loadLogo()} to return its logo.
* If the activity can not be found, NameNotFoundException is thrown. * If the activity cannot be found, NameNotFoundException is thrown.
* *
* @param activityName Name of the activity whose logo is to be retrieved. * @param activityName Name of the activity whose logo is to be retrieved.
* *
@@ -2195,7 +2195,7 @@ public abstract class PackageManager {
* set, this simply returns the result of * set, this simply returns the result of
* getActivityLogo(intent.getClassName()). Otherwise it resolves the intent's * getActivityLogo(intent.getClassName()). Otherwise it resolves the intent's
* component and returns the logo associated with the resolved component. * component and returns the logo associated with the resolved component.
* If intent.getClassName() can not be found or the Intent can not be resolved * If intent.getClassName() cannot be found or the Intent cannot be resolved
* to a component, NameNotFoundException is thrown. * to a component, NameNotFoundException is thrown.
* *
* @param intent The intent for which you would like to retrieve a logo. * @param intent The intent for which you would like to retrieve a logo.
@@ -2227,7 +2227,7 @@ public abstract class PackageManager {
/** /**
* Retrieve the logo associated with an application. Given the name of the * Retrieve the logo associated with an application. Given the name of the
* application's package, retrieves the information about it and calls * application's package, retrieves the information about it and calls
* getApplicationLogo() to return its logo. If the application can not be * getApplicationLogo() to return its logo. If the application cannot be
* found, NameNotFoundException is thrown. * found, NameNotFoundException is thrown.
* *
* @param packageName Name of the package whose application logo is to be * @param packageName Name of the package whose application logo is to be
@@ -2251,8 +2251,8 @@ public abstract class PackageManager {
* labels and other text. * labels and other text.
* *
* @param packageName The name of the package that this text is coming from. * @param packageName The name of the package that this text is coming from.
* Can not be null. * Cannot be null.
* @param resid The resource identifier of the desired text. Can not be 0. * @param resid The resource identifier of the desired text. Cannot be 0.
* @param appInfo Overall information about <var>packageName</var>. This * @param appInfo Overall information about <var>packageName</var>. This
* may be null, in which case the application information will be retrieved * may be null, in which case the application information will be retrieved
* for you if needed; if you already have this information around, it can * for you if needed; if you already have this information around, it can
@@ -2269,8 +2269,8 @@ public abstract class PackageManager {
* retrieve XML meta data. * retrieve XML meta data.
* *
* @param packageName The name of the package that this xml is coming from. * @param packageName The name of the package that this xml is coming from.
* Can not be null. * Cannot be null.
* @param resid The resource identifier of the desired xml. Can not be 0. * @param resid The resource identifier of the desired xml. Cannot be 0.
* @param appInfo Overall information about <var>packageName</var>. This * @param appInfo Overall information about <var>packageName</var>. This
* may be null, in which case the application information will be retrieved * may be null, in which case the application information will be retrieved
* for you if needed; if you already have this information around, it can * for you if needed; if you already have this information around, it can
@@ -2288,7 +2288,7 @@ public abstract class PackageManager {
* *
* @return Returns the label associated with this application, or null if * @return Returns the label associated with this application, or null if
* it could not be found for any reason. * it could not be found for any reason.
* @param info The application to get the label of * @param info The application to get the label of.
*/ */
public abstract CharSequence getApplicationLabel(ApplicationInfo info); public abstract CharSequence getApplicationLabel(ApplicationInfo info);
@@ -2296,7 +2296,7 @@ public abstract class PackageManager {
* Retrieve the resources associated with an activity. Given the full * Retrieve the resources associated with an activity. Given the full
* name of an activity, retrieves the information about it and calls * name of an activity, retrieves the information about it and calls
* getResources() to return its application's resources. If the activity * getResources() to return its application's resources. If the activity
* can not be found, NameNotFoundException is thrown. * cannot be found, NameNotFoundException is thrown.
* *
* @param activityName Name of the activity whose resources are to be * @param activityName Name of the activity whose resources are to be
* retrieved. * retrieved.
@@ -2327,7 +2327,7 @@ public abstract class PackageManager {
* Retrieve the resources associated with an application. Given the full * Retrieve the resources associated with an application. Given the full
* package name of an application, retrieves the information about it and * package name of an application, retrieves the information about it and
* calls getResources() to return its application's resources. If the * calls getResources() to return its application's resources. If the
* appPackageName can not be found, NameNotFoundException is thrown. * appPackageName cannot be found, NameNotFoundException is thrown.
* *
* @param appPackageName Package name of the application whose resources * @param appPackageName Package name of the application whose resources
* are to be retrieved. * are to be retrieved.
@@ -2496,7 +2496,7 @@ public abstract class PackageManager {
* {@link PackageManager#VERIFICATION_REJECT}. * {@link PackageManager#VERIFICATION_REJECT}.
* *
* @param id pending package identifier as passed via the * @param id pending package identifier as passed via the
* {@link PackageManager#EXTRA_VERIFICATION_ID} Intent extra * {@link PackageManager#EXTRA_VERIFICATION_ID} Intent extra.
* @param verificationCode either {@link PackageManager#VERIFICATION_ALLOW} * @param verificationCode either {@link PackageManager#VERIFICATION_ALLOW}
* or {@link PackageManager#VERIFICATION_REJECT}. * or {@link PackageManager#VERIFICATION_REJECT}.
* @throws SecurityException if the caller does not have the * @throws SecurityException if the caller does not have the
@@ -2517,7 +2517,7 @@ public abstract class PackageManager {
* will have no effect. * will have no effect.
* *
* @param id pending package identifier as passed via the * @param id pending package identifier as passed via the
* {@link PackageManager#EXTRA_VERIFICATION_ID} Intent extra * {@link PackageManager#EXTRA_VERIFICATION_ID} Intent extra.
* @param verificationCodeAtTimeout either * @param verificationCodeAtTimeout either
* {@link PackageManager#VERIFICATION_ALLOW} or * {@link PackageManager#VERIFICATION_ALLOW} or
* {@link PackageManager#VERIFICATION_REJECT}. If * {@link PackageManager#VERIFICATION_REJECT}. If
@@ -2749,7 +2749,7 @@ public abstract class PackageManager {
/** /**
* @deprecated This is a protected API that should not have been available * @deprecated This is a protected API that should not have been available
* to third party applications. It is the platform's responsibility for * to third party applications. It is the platform's responsibility for
* assigning preferred activities and this can not be directly modified. * assigning preferred activities and this cannot be directly modified.
* *
* Add a new preferred activity mapping to the system. This will be used * Add a new preferred activity mapping to the system. This will be used
* to automatically select the given activity component when * to automatically select the given activity component when
@@ -2783,7 +2783,7 @@ public abstract class PackageManager {
/** /**
* @deprecated This is a protected API that should not have been available * @deprecated This is a protected API that should not have been available
* to third party applications. It is the platform's responsibility for * to third party applications. It is the platform's responsibility for
* assigning preferred activities and this can not be directly modified. * assigning preferred activities and this cannot be directly modified.
* *
* Replaces an existing preferred activity mapping to the system, and if that were not present * Replaces an existing preferred activity mapping to the system, and if that were not present
* adds a new preferred activity. This will be used * adds a new preferred activity. This will be used