Merge "Add hidden API to retrieve ActivityInfo"
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user