private Drawable getDefaultIcon1 ( Cursor cursor ) { // Check the component that gave us the suggestion Drawable drawable = getActivityIconWithCache ( mSearchable . getSearchActivity ( ) ) ; if ( drawable != null ) { return drawable ; } // Fall back to a default icon return mContext . getPackageManager ( ) . getDefaultActivityIcon ( ) ; }
Gets the left - hand side icon that will be used for the current suggestion if the suggestion contains an icon column but no icon or a broken icon .