am 24b8947f: resolved conflicts for merge of 603f987f to jb-mr2-dev

* commit '24b8947f62d9bdb91aae408894faa5fe59564e46':
  Doc change: Fix typo DONT_DELTE
This commit is contained in:
kmccormick
2013-03-27 19:28:23 -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
* name can not be found.
* name cannot be found.
*/
public static class NameNotFoundException extends AndroidException {
public NameNotFoundException() {
@@ -267,7 +267,7 @@ public abstract class PackageManager {
* user has explicitly disabled the application, regardless of what it has
* 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
* option currently <strong>can not</strong> be used with
* option currently <strong>cannot</strong> be used with
* {@link #setComponentEnabledSetting(ComponentName, int, int)}.
*/
public static final int COMPONENT_ENABLED_STATE_DISABLED_USER = 3;
@@ -1300,9 +1300,9 @@ public abstract class PackageManager {
* package. If flag GET_UNINSTALLED_PACKAGES is set and if the
* package is not found in the list of installed applications, the
* package information is retrieved from the list of uninstalled
* applications(which includes installed applications as well as
* applications with data directory ie applications which had been
* deleted with DONT_DELTE_DATA flag set).
* applications (which includes installed applications as well as
* applications with data directory i.e. applications which had been
* deleted with {@code DONT_DELETE_DATA} flag set).
* @see #GET_ACTIVITIES
* @see #GET_GIDS
* @see #GET_CONFIGURATIONS
@@ -1343,7 +1343,7 @@ public abstract class PackageManager {
* null if neither are found.
*
* <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.
*
@@ -1358,7 +1358,7 @@ public abstract class PackageManager {
* assigned to a package.
*
* <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
* desired package.
@@ -1389,7 +1389,7 @@ public abstract class PackageManager {
* Retrieve all of the information we know about a particular permission.
*
* <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)
* of the permission you are interested in.
@@ -1425,7 +1425,7 @@ public abstract class PackageManager {
* permissions.
*
* <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)
* of the permission you are interested in.
@@ -1454,7 +1454,7 @@ public abstract class PackageManager {
* package/application.
*
* <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
* application.
@@ -1470,7 +1470,7 @@ public abstract class PackageManager {
* list of uninstalled applications(which includes
* installed applications as well as applications
* 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_SHARED_LIBRARY_FILES
@@ -1484,7 +1484,7 @@ public abstract class PackageManager {
* class.
*
* <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.
* com.google.apps.contacts/com.google.apps.contacts.ContactsList) of an Activity
@@ -1507,7 +1507,7 @@ public abstract class PackageManager {
* class.
*
* <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.
* com.google.apps.calendar/com.google.apps.calendar.CalendarAlarm) of a Receiver
@@ -1530,7 +1530,7 @@ public abstract class PackageManager {
* class.
*
* <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.
* com.google.apps.media/com.google.apps.media.BackgroundPlayback) of a Service
@@ -1552,7 +1552,7 @@ public abstract class PackageManager {
* provider class.
*
* <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.
* com.google.providers.media/com.google.providers.media.MediaProvider) of a
@@ -1589,7 +1589,7 @@ public abstract class PackageManager {
* installed on the device. In the unlikely case of there being no
* installed packages, an empty list is returned.
* 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.
*
* @see #GET_ACTIVITIES
@@ -1659,7 +1659,7 @@ public abstract class PackageManager {
* installed on the device. In the unlikely case of there being no
* installed packages, an empty list is returned.
* 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.
*
* @see #GET_ACTIVITIES
@@ -1887,7 +1887,7 @@ public abstract class PackageManager {
/**
* 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
* 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.
*
* @param flags Additional option flags. Use any combination of
@@ -1898,7 +1898,7 @@ public abstract class PackageManager {
* is installed on the device. In the unlikely case of there being
* no installed applications, an empty list is returned.
* 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.
*
* @see #GET_META_DATA
@@ -2204,7 +2204,7 @@ public abstract class PackageManager {
* instrumentation class.
*
* <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.
* com.google.apps.contacts.InstrumentList) of an
@@ -2241,8 +2241,8 @@ public abstract class PackageManager {
* icon.
*
* @param packageName The name of the package that this icon is coming from.
* Can not be null.
* @param resid The resource identifier of the desired image. Can not be 0.
* Cannot be null.
* @param resid The resource identifier of the desired image. Cannot be 0.
* @param appInfo Overall information about <var>packageName</var>. This
* 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
@@ -2258,7 +2258,7 @@ public abstract class PackageManager {
* Retrieve the icon associated with an activity. Given the full name of
* an activity, retrieves the information about it and calls
* {@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.
*
@@ -2277,7 +2277,7 @@ public abstract class PackageManager {
* set, this simply returns the result of
* getActivityIcon(intent.getClassName()). Otherwise it resolves the intent's
* 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.
*
* @param intent The intent for which you would like to retrieve an icon.
@@ -2316,7 +2316,7 @@ public abstract class PackageManager {
/**
* Retrieve the icon associated with an application. Given the name of the
* 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.
*
* @param packageName Name of the package whose application icon is to be
@@ -2336,7 +2336,7 @@ public abstract class PackageManager {
* Retrieve the logo associated with an activity. Given the full name of
* an activity, retrieves the information about it and calls
* {@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.
*
@@ -2356,7 +2356,7 @@ public abstract class PackageManager {
* set, this simply returns the result of
* getActivityLogo(intent.getClassName()). Otherwise it resolves the intent's
* 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.
*
* @param intent The intent for which you would like to retrieve a logo.
@@ -2388,7 +2388,7 @@ public abstract class PackageManager {
/**
* Retrieve the logo associated with an application. Given the name of the
* 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.
*
* @param packageName Name of the package whose application logo is to be
@@ -2412,8 +2412,8 @@ public abstract class PackageManager {
* labels and other text.
*
* @param packageName The name of the package that this text is coming from.
* Can not be null.
* @param resid The resource identifier of the desired text. Can not be 0.
* Cannot be null.
* @param resid The resource identifier of the desired text. Cannot be 0.
* @param appInfo Overall information about <var>packageName</var>. This
* 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
@@ -2430,8 +2430,8 @@ public abstract class PackageManager {
* retrieve XML meta data.
*
* @param packageName The name of the package that this xml is coming from.
* Can not be null.
* @param resid The resource identifier of the desired xml. Can not be 0.
* Cannot be null.
* @param resid The resource identifier of the desired xml. Cannot be 0.
* @param appInfo Overall information about <var>packageName</var>. This
* 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
@@ -2449,7 +2449,7 @@ public abstract class PackageManager {
*
* @return Returns the label associated with this application, or null if
* 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);
@@ -2457,7 +2457,7 @@ public abstract class PackageManager {
* Retrieve the resources associated with an activity. Given the full
* name of an activity, retrieves the information about it and calls
* 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
* retrieved.
@@ -2488,7 +2488,7 @@ public abstract class PackageManager {
* Retrieve the resources associated with an application. Given the full
* package name of an application, retrieves the information about it and
* 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
* are to be retrieved.
@@ -2657,7 +2657,7 @@ public abstract class PackageManager {
* {@link PackageManager#VERIFICATION_REJECT}.
*
* @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}
* or {@link PackageManager#VERIFICATION_REJECT}.
* @throws SecurityException if the caller does not have the
@@ -2678,7 +2678,7 @@ public abstract class PackageManager {
* will have no effect.
*
* @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
* {@link PackageManager#VERIFICATION_ALLOW} or
* {@link PackageManager#VERIFICATION_REJECT}. If
@@ -2910,7 +2910,7 @@ public abstract class PackageManager {
/**
* @deprecated This is a protected API that should not have been available
* 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
* to automatically select the given activity component when
@@ -2944,7 +2944,7 @@ public abstract class PackageManager {
/**
* @deprecated This is a protected API that should not have been available
* 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
* adds a new preferred activity. This will be used