From 288e7de22ef831235a5d7640cd228dfc467b4f19 Mon Sep 17 00:00:00 2001 From: Marcin Kosiba Date: Fri, 12 Sep 2014 18:21:58 +0100 Subject: [PATCH] Remove an @removed member of andorid.webkit.WebResourceResponse. BUG: 17253647 Change-Id: I02f4f0600a09ceb3b68ba2698b80e413e7511663 --- api/current.txt | 1 - core/java/android/webkit/WebResourceRequest.java | 11 +---------- 2 files changed, 1 insertion(+), 11 deletions(-) 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". *