why fallback to sms situation? If you want to do that with reasons, I'd suggest to
```
if (type.equals("mms")) {
    return Uri.parse("content://mms");
} else {
    return Uri.parse("content://sms");
}
```