summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mathew Inwood <mathewi@google.com> 2011-09-26 13:23:56 +0100
committer Mathew Inwood <mathewi@google.com> 2011-09-26 13:23:56 +0100
commit1b9f8d92a934188eb200647025bffaf90469ee55 (patch)
tree6e4bd86e14e6684f2c0dceb1e4802a873a80c140
parentb48ca1f1ab8cf77db337d6f2bc8586cc172ab6f8 (diff)
Document thrown IllegalArgumentException.
Change-Id: I502f91e3c1130c14ad8f67934bf52a7206de302f
-rw-r--r--core/java/android/content/pm/PackageManager.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/content/pm/PackageManager.java b/core/java/android/content/pm/PackageManager.java
index ef7e23345036..f732cb80a30c 100644
--- a/core/java/android/content/pm/PackageManager.java
+++ b/core/java/android/content/pm/PackageManager.java
@@ -2527,6 +2527,7 @@ public abstract class PackageManager {
* {@link #COMPONENT_ENABLED_STATE_DEFAULT}. The last one means the
* application's enabled state is based on the original information in
* the manifest as found in {@link ComponentInfo}.
+ * @throws IllegalArgumentException if the named package does not exist.
*/
public abstract int getApplicationEnabledSetting(String packageName);