diff options
author | Nicolas Fella <nicolas.fella@kdab.com> | 2019-06-17 21:59:13 +0200 |
---|---|---|
committer | Nicolas Fella <nicolas.fella@kdab.com> | 2019-07-05 21:46:06 +0200 |
commit | 5ca2b081fe8089990dd87c5d9081d90ed170283a (patch) | |
tree | 3b585d4b16db5b89017bbf8f4180093ecb3ff321 /mkspecs/features | |
parent | 298f750cdba2bd15e735a47ba8d3b9c093367ba3 (diff) |
[androidcontentfileengine] Catch SecurityException during file opening
resolver.openFileDescriptor throws a SecurityException when the caller doesn't have sufficient permissions to access the URL. This will make an application crash.
We should handle this case gracefully and report it to the user. I'm unsure if there is a better way to do this than simply logging the exception.
Change-Id: I36bfbd3e398c8176e57042a27740aa15bce63a7c
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Diffstat (limited to 'mkspecs/features')
0 files changed, 0 insertions, 0 deletions