|
|
@ -474,8 +474,7 @@ public class DetailsFragment extends Fragment implements OnTrackersUpdatedListen |
|
|
|
|
|
|
|
|
|
|
|
// Try using a VIEW intent given an ftp:// scheme URI
|
|
|
|
// Try using a VIEW intent given an ftp:// scheme URI
|
|
|
|
String file = checked.get(0).getRelativePath(); |
|
|
|
String file = checked.get(0).getRelativePath(); |
|
|
|
if (file != null) { |
|
|
|
if (file != null && file.startsWith("/")) |
|
|
|
if (file.startsWith("/")) |
|
|
|
|
|
|
|
file = file.substring(1); |
|
|
|
file = file.substring(1); |
|
|
|
String url = urlBase + file; |
|
|
|
String url = urlBase + file; |
|
|
|
Intent simpleStart = new Intent(Intent.ACTION_VIEW, Uri.parse(url)) |
|
|
|
Intent simpleStart = new Intent(Intent.ACTION_VIEW, Uri.parse(url)) |
|
|
|