diff --git a/api/current.txt b/api/current.txt index 9686baf077e07..a66204e11e70f 100644 --- a/api/current.txt +++ b/api/current.txt @@ -36523,7 +36523,6 @@ package android.webkit { method public abstract java.util.Map getRequestHeaders(); method public abstract android.net.Uri getUrl(); method public abstract boolean hasGesture(); - method public abstract boolean hasUserGestureInsecure(); method public abstract boolean isForMainFrame(); } diff --git a/core/java/android/webkit/WebResourceRequest.java b/core/java/android/webkit/WebResourceRequest.java index b46ac9a542230..2185658de37a8 100644 --- a/core/java/android/webkit/WebResourceRequest.java +++ b/core/java/android/webkit/WebResourceRequest.java @@ -41,21 +41,12 @@ public interface WebResourceRequest { boolean isForMainFrame(); /** - * Gets whether a gesture (such as a link click) was associated with the request. - *

- * IMPORTANT: - * This should not be used to implement any form of security. It is possible for the content - * to spoof this. + * Gets whether a gesture (such as a click) was associated with the request. * * @return whether a gesture was associated with the request. */ boolean hasGesture(); - /* - * @removed - */ - boolean hasUserGestureInsecure(); - /** * Gets the method associated with the request, for example "GET". *