Commit 6e4ec238 authored by Rafaël Carré's avatar Rafaël Carré

VideoPlayerActivity: use complete URI when started from VIEW INTENT

parent 3aeaabd1
......@@ -612,7 +612,7 @@ public class VideoPlayerActivity extends Activity {
if (getIntent().getAction() != null
&& getIntent().getAction().equals(Intent.ACTION_VIEW)) {
/* Started from external application */
path = getIntent().getData().getPath();
path = getIntent().getDataString();
} else {
/* Started from VideoListActivity */
path = getIntent().getExtras().getString("filePath");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment