Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/afkT/DevUtils
/ getAppIcon
Method
getAppIcon
lib/DevApp/src/main/java/dev/utils/app/AppUtils.java:806–808 ·
view source on GitHub ↗
获取 APP 图标 @return Drawable
()
Source
from the content-addressed store, hash-verified
804
* @
return
{@link Drawable}
805
*/
806
public
static
Drawable getAppIcon() {
807
return
getAppIcon(getPackageName());
808
}
809
810
/**
811
* 获取 APP 图标
Callers
nothing calls this directly
Calls
5
getPackageName
Method · 0.95
getPackageManager
Method · 0.95
eTag
Method · 0.95
isEmpty
Method · 0.45
getPackageInfo
Method · 0.45
Tested by
no test coverage detected