void updateUsbMassStorageNotification(boolean available){
  if (available) {
    Intent intent=new Intent();
    intent.setClass(mContext,com.android.systemui.usb.UsbStorageActivity.class);
    intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
    PendingIntent pi=PendingIntent.getActivity(mContext,0,intent,0);
    setUsbStorageNotification(com.android.internal.R.string.usb_storage_notification_title,com.android.internal.R.string.usb_storage_notification_message,com.android.internal.R.drawable.stat_sys_data_usb,false,true,pi);
  }
 else {
    setUsbStorageNotification(0,0,0,false,false,null);
  }
}

void updateUsbMassStorageNotification ( boolean available ) { if ( available ) { Intent intent = new Intent ( ) ; intent . setClass ( mContext , com . android . systemui . usb . UsbStorageActivity . class ) ; intent . setFlags ( Intent . FLAG_ACTIVITY_NEW_TASK ) ; PendingIntent pi = PendingIntent . getActivity ( mContext , 0 , intent , 0 ) ; setUsbStorageNotification ( com . android . internal . R . string . usb_storage_notification_title , com . android . internal . R . string . usb_storage_notification_message , com . android . internal . R . drawable . stat_sys_data_usb , false , true , pi ) ; } else { setUsbStorageNotification ( 0 , 0 , 0 , false , false , null ) ; } }
update the state of the usb mass storage notification
