Skip to content

Commit 1b9f8d9

Browse files
committed
Document thrown IllegalArgumentException.
Change-Id: I502f91e3c1130c14ad8f67934bf52a7206de302f
1 parent b48ca1f commit 1b9f8d9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core/java/android/content/pm/PackageManager.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2527,6 +2527,7 @@ public abstract void setApplicationEnabledSetting(String packageName,
25272527
* {@link #COMPONENT_ENABLED_STATE_DEFAULT}. The last one means the
25282528
* application's enabled state is based on the original information in
25292529
* the manifest as found in {@link ComponentInfo}.
2530+
* @throws IllegalArgumentException if the named package does not exist.
25302531
*/
25312532
public abstract int getApplicationEnabledSetting(String packageName);
25322533

0 commit comments

Comments
 (0)