Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-Android
Commits
7bcfa662
Commit
7bcfa662
authored
Jan 05, 2021
by
Nicolas Pomepuy
Browse files
Improve error info for external intent opening
parent
875589ea
Pipeline
#54532
passed with stage
in 3 minutes and 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
application/vlc-android/src/org/videolan/vlc/util/FileUtils.kt
View file @
7bcfa662
...
...
@@ -399,19 +399,19 @@ object FileUtils {
// returnCursor.close();
// }
}
catch
(
e
:
FileNotFoundException
)
{
Log
.
e
(
TAG
,
"
Couldn't understand the intent"
)
Log
.
e
(
TAG
,
"
${e.message} for $data"
,
e
)
return
null
}
catch
(
e
:
IllegalArgumentException
)
{
Log
.
e
(
TAG
,
"
Couldn't understand the intent"
)
Log
.
e
(
TAG
,
"
${e.message} for $data"
,
e
)
return
null
}
catch
(
e
:
IllegalStateException
)
{
Log
.
e
(
TAG
,
"
Couldn't understand the intent"
)
Log
.
e
(
TAG
,
"
${e.message} for $data"
,
e
)
return
null
}
catch
(
e
:
NullPointerException
)
{
Log
.
e
(
TAG
,
"
Couldn't understand the intent"
)
Log
.
e
(
TAG
,
"
${e.message} for $data"
,
e
)
return
null
}
catch
(
e
:
SecurityException
)
{
Log
.
e
(
TAG
,
"
Permission is no longer valid"
)
Log
.
e
(
TAG
,
"
${e.message} for $data"
,
e
)
return
null
}
}
// Media or MMS URI
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment