catch exceptions when retrieving uri file extension
This commit is contained in:
parent
4d5e0c291e
commit
d2ca0c7fe8
|
@ -268,6 +268,8 @@ public class FileBackend {
|
|||
if (cursor.moveToFirst()) {
|
||||
filename = cursor.getString(0);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
filename = null;
|
||||
} finally {
|
||||
cursor.close();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue