diff options
Diffstat (limited to 'core/java/android/content/pm/PackageManager.java')
-rw-r--r-- | core/java/android/content/pm/PackageManager.java | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/core/java/android/content/pm/PackageManager.java b/core/java/android/content/pm/PackageManager.java index 7287d9c..698f27f 100644 --- a/core/java/android/content/pm/PackageManager.java +++ b/core/java/android/content/pm/PackageManager.java @@ -480,26 +480,6 @@ public abstract class PackageManager { throws NameNotFoundException; /** - * Return a "good" intent to launch a front-door activity in a package, - * for use for example to implement an "open" button when browsing through - * packages. The current implementation will look first for a main - * activity in the category {@link Intent#CATEGORY_INFO}, next for a - * main activity in the category {@link Intent#CATEGORY_LAUNCHER}, or return - * null if neither are found. - * - * <p>Throws {@link NameNotFoundException} if a package with the given - * name can not be found on the system. - * - * @param packageName The name of the package to inspect. - * - * @return Returns either a fully-qualified Intent that can be used to - * launch the main activity in the package, or null if the package does - * not contain such an activity. - */ - public abstract Intent getLaunchIntentForPackage(String packageName) - throws NameNotFoundException; - - /** * Return an array of all of the secondary group-ids that have been * assigned to a package. * |