Code example for ApplicationInfo

Methods: loadIcon

0
		} else if (!mMounted) {
			// If the app wasn't mounted but is now mounted, reload 
			// its icon. 
			if (mApkFile.exists()) {
				mMounted = true;
				mIcon = mInfo.loadIcon(context.getPackageManager());
				return mIcon;
			} 
		} else { 
			return mIcon;
		} 
 
		return context.getResources().getDrawable(
				android.R.drawable.sym_def_app_icon);
	} 
 
	@Override 
	public String toString() {
		return mLabel;
	} 
Contextual code suggestions in your IDE  Get Codota for Java