Skip to content
Snippets Groups Projects
Commit 565c4dde authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Catch SecurityException in Uri transcription

If a media has been loaded from a 3rd party app, its access may not be
granted anymore
parent 10979732
No related branches found
No related tags found
No related merge requests found
......@@ -388,6 +388,9 @@ public class FileUtils {
} catch (FileNotFoundException e) {
Log.e(TAG, "Couldn't understand the intent");
return data;
} catch (SecurityException e) {
Log.e(TAG, "Permission is no longer valid");
return data;
}
}
}
......
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