am 0ec41abf: Merge "Provide access to ActivityInfo.name from LauncherActivityInfo"
* commit '0ec41abf20df9c27cd995b8ca22fa709aff4434b': Provide access to ActivityInfo.name from LauncherActivityInfo
This commit is contained in:
@@ -120,6 +120,14 @@ public class LauncherActivityInfo {
|
||||
return mFirstInstallTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the name for the acitivty from android:name in the manifest.
|
||||
* @return the name from android:name for the acitivity.
|
||||
*/
|
||||
public String getName() {
|
||||
return mActivityInfo.name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the activity icon with badging appropriate for the profile.
|
||||
* @param density Optional density for the icon, or 0 to use the default density.
|
||||
|
||||
Reference in New Issue
Block a user