* moved necessary resets to from reloadIITC() to loadURL()

* better url parameter add
* fixed wrong return value of shouldOverrideUrlLoading()
This commit is contained in:
Philipp Schaefer
2014-08-18 23:28:52 +02:00
parent a687ab82ea
commit 0a461ab753
2 changed files with 8 additions and 14 deletions

View File

@ -232,12 +232,11 @@ public class IITC_WebViewClient extends WebViewClient {
Log.d("should be an internal clicked position link...reload script for: " + url);
mIitc.loadUrl(url);
}
return false;
} else {
Log.d("no ingress intel link, start external app to load url: " + url);
final Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
mIitc.startActivity(intent);
return true;
}
return true;
}
}