bugfix: http2https
This commit is contained in:
parent
473ae4bf39
commit
4a9c10f044
@ -56,7 +56,7 @@ public class IITC_Mobile extends Activity {
|
|||||||
if (Intent.ACTION_VIEW.equals(action)) {
|
if (Intent.ACTION_VIEW.equals(action)) {
|
||||||
Uri uri = intent.getData();
|
Uri uri = intent.getData();
|
||||||
String url = uri.toString();
|
String url = uri.toString();
|
||||||
if (intent.getScheme().equals("http://"))
|
if (intent.getScheme().equals("http"))
|
||||||
url = url.replace("http://", "https://");
|
url = url.replace("http://", "https://");
|
||||||
Log.d("iitcm", "intent received url: " + url);
|
Log.d("iitcm", "intent received url: " + url);
|
||||||
if (url.contains("ingress.com")) {
|
if (url.contains("ingress.com")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user