From 1b9f8d92a934188eb200647025bffaf90469ee55 Mon Sep 17 00:00:00 2001 From: Mathew Inwood Date: Mon, 26 Sep 2011 13:23:56 +0100 Subject: [PATCH] Document thrown IllegalArgumentException. Change-Id: I502f91e3c1130c14ad8f67934bf52a7206de302f --- core/java/android/content/pm/PackageManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/java/android/content/pm/PackageManager.java b/core/java/android/content/pm/PackageManager.java index ef7e233450361..f732cb80a30c2 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);