Merge "Add hidden API to retrieve ActivityInfo"

This commit is contained in:
Sean Stout
2020-11-13 21:48:52 +00:00
committed by Android (Google) Code Review

View File

@@ -129,6 +129,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