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()) {
|
if (cursor.moveToFirst()) {
|
||||||
filename = cursor.getString(0);
|
filename = cursor.getString(0);
|
||||||
}
|
}
|
||||||
|
} catch (Exception e) {
|
||||||
|
filename = null;
|
||||||
} finally {
|
} finally {
|
||||||
cursor.close();
|
cursor.close();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue