public synchronized void removeIconsForPkg(String packageName,UserHandleCompat user){
  removeFromMemCacheLocked(packageName,user);
  long userSerial=mUserManager.getSerialNumberForUser(user);
  mIconDb.delete(IconDB.COLUMN_COMPONENT + " LIKE ? AND " + IconDB.COLUMN_USER+ " = ?",new String[]{packageName + "/%",Long.toString(userSerial)});
}

public synchronized void removeIconsForPkg ( String packageName , UserHandleCompat user ) { removeFromMemCacheLocked ( packageName , user ) ; long userSerial = mUserManager . getSerialNumberForUser ( user ) ; mIconDb . delete ( IconDB . COLUMN_COMPONENT + " LIKE ? AND " + IconDB . COLUMN_USER + " = ?" , new String [ ] { packageName + "/%" , Long . toString ( userSerial ) } ) ; }
removes the entries related to the given package in memory and persistent db .
