summaryrefslogtreecommitdiffstats
path: root/core/java/android/webkit/WebView.java
diff options
context:
space:
mode:
authorTao Bai <michaelbai@google.com>2014-04-15 18:01:42 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-04-15 18:01:43 +0000
commit31e052bfc4c81f0aa682d723a88cd9b716b6cace (patch)
treebbb00ca7da4c9d9192e206ad82650d789427008b /core/java/android/webkit/WebView.java
parente5b7c95b8a247e9962710dca127c56a78d4faca5 (diff)
parente0a7b08d369e323f524251a44251c902122a6414 (diff)
downloadframeworks_base-31e052bfc4c81f0aa682d723a88cd9b716b6cace.zip
frameworks_base-31e052bfc4c81f0aa682d723a88cd9b716b6cace.tar.gz
frameworks_base-31e052bfc4c81f0aa682d723a88cd9b716b6cace.tar.bz2
Merge "Revert "Define new general permission APIs for webview.""
Diffstat (limited to 'core/java/android/webkit/WebView.java')
-rw-r--r--core/java/android/webkit/WebView.java16
1 files changed, 0 insertions, 16 deletions
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java
index 62fbbc4..85168fd 100644
--- a/core/java/android/webkit/WebView.java
+++ b/core/java/android/webkit/WebView.java
@@ -25,7 +25,6 @@ import android.graphics.Paint;
import android.graphics.Picture;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
-import android.net.Uri;
import android.net.http.SslCertificate;
import android.os.Build;
import android.os.Bundle;
@@ -1641,21 +1640,6 @@ public class WebView extends AbsoluteLayout
}
/**
- * Preauthorize the given origin to access resources.
- * This authorization only valid for this WebView instance life cycle and
- * will not retained.
- *
- * @param origin the origin authorized to access resources
- * @param resources the resource authorized to be accessed by origin.
- *
- * @hide
- */
- public void preauthorizePermission(Uri origin, long resources) {
- checkThread();
- mProvider.preauthorizePermission(origin, resources);
- }
-
- /**
* Sets the Picture listener. This is an interface used to receive
* notifications of a new Picture.
*