private void handleMmsReceived(Intent intent){
  if (BuildConfig.DEBUG)   Log.v("MMS received!");
  SmsMmsMessage mmsMessage=null;
  int count=0;
  while (mmsMessage == null && count < MESSAGE_RETRY) {
    mmsMessage=SmsPopupUtils.getMmsDetails(context);
    if (mmsMessage != null) {
      if (BuildConfig.DEBUG)       Log.v("MMS found in content provider");
      notifyMessageReceived(mmsMessage);
    }
 else {
      if (BuildConfig.DEBUG)       Log.v("MMS not found, sleeping (count is " + count + ")");
      count++;
      try {
        Thread.sleep(MESSAGE_RETRY_PAUSE);
      }
 catch (      InterruptedException e) {
      }
    }
  }
}

private void handleMmsReceived ( Intent intent ) { if ( BuildConfig . DEBUG ) Log . v ( "MMS received!" ) ; SmsMmsMessage mmsMessage = null ; int count = 0 ; while ( mmsMessage == null && count < MESSAGE_RETRY ) { mmsMessage = SmsPopupUtils . getMmsDetails ( context ) ; if ( mmsMessage != null ) { if ( BuildConfig . DEBUG ) Log . v ( "MMS found in content provider" ) ; notifyMessageReceived ( mmsMessage ) ; } else { if ( BuildConfig . DEBUG ) Log . v ( "MMS not found, sleeping (count is " + count + ")" ) ; count ++ ; try { Thread . sleep ( MESSAGE_RETRY_PAUSE ) ; } catch ( InterruptedException e ) { } } } }
handle receiving a mms message
