Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLC-Android
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
315
Issues
315
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VideoLAN
VLC-Android
Commits
113c9999
Commit
113c9999
authored
Jun 22, 2016
by
Geoffrey Métais
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent NPE
parent
2dbd0d01
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vlc-android/src/org/videolan/vlc/util/SubtitlesDownloader.java
...ndroid/src/org/videolan/vlc/util/SubtitlesDownloader.java
+2
-1
No files found.
vlc-android/src/org/videolan/vlc/util/SubtitlesDownloader.java
View file @
113c9999
...
...
@@ -35,6 +35,7 @@ import android.os.Message;
import
android.support.v7.app.AlertDialog
;
import
android.support.v7.app.AppCompatActivity
;
import
android.support.v7.preference.PreferenceManager
;
import
android.text.TextUtils
;
import
android.util.Log
;
import
android.view.View
;
import
android.view.WindowManager
;
...
...
@@ -379,7 +380,7 @@ public class SubtitlesDownloader {
index
.
put
(
hash
,
mediaUri
.
getPath
());
video
.
put
(
"moviehash"
,
hash
);
video
.
put
(
"moviebytesize"
,
String
.
valueOf
(
fileLength
));
}
else
{
}
else
if
(!
TextUtils
.
isEmpty
(
tag
))
{
video
.
put
(
"tag"
,
tag
);
int
dotPos
=
tag
.
lastIndexOf
(
'.'
);
if
(
dotPos
>
-
1
)
...
...
Geoffrey Métais
@Dekans
mentioned in commit
8d8c09a7
·
Jun 22, 2016
mentioned in commit
8d8c09a7
mentioned in commit 8d8c09a7de65933bf435830a35d5c808c0ecaaad
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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