Make CordovaUriHelper class package-private

This commit is contained in:
Andrew Grieve 2014-07-08 12:05:41 -04:00
parent 9ea8b2237a
commit d51abdd73e

View File

@ -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:"))
{ {