@@ -1460,21 +1460,19 @@ public abstract PackageInfo getPackageInfo(String packageName, int flags)
14601460 public abstract String [] canonicalToCurrentPackageNames (String [] names );
14611461
14621462 /**
1463- * Return a "good" intent to launch a front-door activity in a package,
1464- * for use for example to implement an "open" button when browsing through
1465- * packages. The current implementation will look first for a main
1466- * activity in the category {@link Intent#CATEGORY_INFO}, next for a
1467- * main activity in the category {@link Intent#CATEGORY_LAUNCHER}, or return
1468- * null if neither are found.
1469- *
1470- * <p>Throws {@link NameNotFoundException} if a package with the given
1471- * name cannot be found on the system.
1463+ * Returns a "good" intent to launch a front-door activity in a package.
1464+ * This is used, for example, to implement an "open" button when browsing
1465+ * through packages. The current implementation looks first for a main
1466+ * activity in the category {@link Intent#CATEGORY_INFO}, and next for a
1467+ * main activity in the category {@link Intent#CATEGORY_LAUNCHER}. Returns
1468+ * <code>null</code> if neither are found.
14721469 *
14731470 * @param packageName The name of the package to inspect.
14741471 *
1475- * @return Returns either a fully-qualified Intent that can be used to
1476- * launch the main activity in the package, or null if the package does
1477- * not contain such an activity.
1472+ * @return A fully-qualified {@link Intent} that can be used to launch the
1473+ * main activity in the package. Returns <code>null</code> if the package
1474+ * does not contain such an activity, or if <em>packageName</em> is not
1475+ * recognized.
14781476 */
14791477 public abstract Intent getLaunchIntentForPackage (String packageName );
14801478
0 commit comments