catch exceptions when retrieving uri file extension

This commit is contained in:
Daniel Gultsch 2016-06-24 13:35:39 +02:00
parent 4d5e0c291e
commit d2ca0c7fe8

View file

@ -268,6 +268,8 @@ public class FileBackend {
if (cursor.moveToFirst()) {
filename = cursor.getString(0);
}
} catch (Exception e) {
filename = null;
} finally {
cursor.close();
}