File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
app/src/main/java/ai/elimu/content_provider/ui/video Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -144,9 +144,8 @@ public void run() {
144144 Log .i (getClass ().getName (), "videoFile: " + videoFile );
145145 Log .i (getClass ().getName (), "videoFile.exists(): " + videoFile .exists ());
146146 if (!videoFile .exists ()) {
147- // Download file bytes
148- BaseApplication baseApplication = (BaseApplication ) getActivity ().getApplication ();
149- String fileUrl = baseApplication .getBaseUrl () + videoGson .getFileUrl ();
147+ // Download file
148+ String fileUrl = videoGson .getFileUrl ();
150149 Log .i (getClass ().getName (), "fileUrl: " + fileUrl );
151150 byte [] bytes = MultimediaDownloader .downloadFileBytes (fileUrl );
152151 Log .i (getClass ().getName (), "bytes.length: " + bytes .length );
You can’t perform that action at this time.
0 commit comments