possible fix for #221
This commit is contained in:
parent
a9034f3832
commit
145163f0de
@ -172,7 +172,7 @@ public class IITC_WebViewClient extends WebViewClient {
|
|||||||
// start non-ingress-intel-urls in another app...
|
// start non-ingress-intel-urls in another app...
|
||||||
@Override
|
@Override
|
||||||
public boolean shouldOverrideUrlLoading(WebView view, String url) {
|
public boolean shouldOverrideUrlLoading(WebView view, String url) {
|
||||||
if (url.contains("ingress.com")) {
|
if (url.contains("ingress.com") || url.contains("appengine.google.com")) {
|
||||||
// reload iitc if a poslink is clicked inside the app
|
// reload iitc if a poslink is clicked inside the app
|
||||||
if (url.contains("intel?ll=") || (url.contains("latE6") && url.contains("lngE6"))) {
|
if (url.contains("intel?ll=") || (url.contains("latE6") && url.contains("lngE6"))) {
|
||||||
Log.d("iitcm", "should be an internal clicked position link...reload script for: " + url);
|
Log.d("iitcm", "should be an internal clicked position link...reload script for: " + url);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user