|
|
@ -150,12 +150,9 @@ public class FragmentDialogOpenLink extends FragmentDialogBase {
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
Uri g = Uri.parse(URLUtil.guessUrl(url));
|
|
|
|
Uri g = Uri.parse(URLUtil.guessUrl(url));
|
|
|
|
String scheme = g.getScheme();
|
|
|
|
String scheme = g.getScheme();
|
|
|
|
if (scheme != null) {
|
|
|
|
if (scheme == null || "http".equals(scheme))
|
|
|
|
if ("http".equals(scheme))
|
|
|
|
scheme = "https";
|
|
|
|
scheme = "https";
|
|
|
|
uri = Uri.parse(scheme + "://" + _uri.toString());
|
|
|
|
uri = Uri.parse(scheme + "://" + _uri.toString());
|
|
|
|
|
|
|
|
} else
|
|
|
|
|
|
|
|
uri = _uri;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else
|
|
|
|
} else
|
|
|
|
uri = _uri;
|
|
|
|
uri = _uri;
|
|
|
|