Skip to content
Snippets Groups Projects
Commit 9e0cb0fa authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Prevent SQLiteException

(cherry picked from commit 47a39853)
parent 1e5a8342
No related branches found
No related tags found
1 merge request!7943.3.x
......@@ -27,6 +27,7 @@ import android.annotation.SuppressLint
import android.content.Context
import android.content.res.AssetManager
import android.database.Cursor
import android.database.sqlite.SQLiteException
import android.net.Uri
import android.os.ParcelFileDescriptor
import android.os.storage.StorageManager
......@@ -103,6 +104,8 @@ object FileUtils {
return ""
} catch (e: SecurityException) {
return ""
} catch (e: SQLiteException) {
return ""
} catch (e: NullPointerException) {
return ""
} finally {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment