catch exception when trying to read display name. fixes #4163
This commit is contained in:
parent
8d9c51d755
commit
d436c5f856
|
@ -568,6 +568,8 @@ public final class MimeUtils {
|
|||
if (cursor != null && cursor.moveToFirst()) {
|
||||
return cursor.getString(cursor.getColumnIndex(OpenableColumns.DISPLAY_NAME));
|
||||
}
|
||||
} catch (Exception e) {
|
||||
return null;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue