diff --git a/core/java/android/content/pm/LauncherActivityInfo.java b/core/java/android/content/pm/LauncherActivityInfo.java index 7c48bdfb87ea8..fbe13d3c4744f 100644 --- a/core/java/android/content/pm/LauncherActivityInfo.java +++ b/core/java/android/content/pm/LauncherActivityInfo.java @@ -128,6 +128,16 @@ public class LauncherActivityInfo { return mInternal.getActivityInfo().flags; } + /** + * Returns the ActivityInfo of the activity. + * + * @return Activity Info + * @hide + */ + public ActivityInfo getActivityInfo() { + return mInternal.getActivityInfo(); + } + /** * Returns the application info for the appliction this activity belongs to. * @return