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(mLoader.mPm);
                    return mIcon;
                } 
            } else { 
                return mIcon;
            } 
 
            return mLoader.getContext().getResources().getDrawable(
                    android.R.drawable.sym_def_app_icon);
        } 
 
        @Override public String toString() {
            return mLabel;
        } 
 
        void loadLabel(Context context) {