mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 23:25:11 +08:00
Make CordovaUriHelper class package-private
This commit is contained in:
parent
9ea8b2237a
commit
d51abdd73e
@ -23,7 +23,7 @@ import android.content.Intent;
|
|||||||
import android.net.Uri;
|
import android.net.Uri;
|
||||||
import android.webkit.WebView;
|
import android.webkit.WebView;
|
||||||
|
|
||||||
public class CordovaUriHelper {
|
class CordovaUriHelper {
|
||||||
|
|
||||||
private static final String TAG = "CordovaUriHelper";
|
private static final String TAG = "CordovaUriHelper";
|
||||||
|
|
||||||
@ -44,7 +44,7 @@ public class CordovaUriHelper {
|
|||||||
* @param url The url to be loaded.
|
* @param url The url to be loaded.
|
||||||
* @return true to override, false for default behavior
|
* @return true to override, false for default behavior
|
||||||
*/
|
*/
|
||||||
public boolean shouldOverrideUrlLoading(WebView view, String url) {
|
boolean shouldOverrideUrlLoading(WebView view, String url) {
|
||||||
// The WebView should support http and https when going on the Internet
|
// The WebView should support http and https when going on the Internet
|
||||||
if(url.startsWith("http:") || url.startsWith("https:"))
|
if(url.startsWith("http:") || url.startsWith("https:"))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user