summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/WebView.java
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2013-02-19 11:13:08 +0000
committerBen Murdoch <benm@google.com>2013-02-21 20:35:21 +0000
commit1c8d7f09524e22c56791d90e3a7b64e2808d09b4 (patch)
treee75586985839dc864c1f0b37982e9b732720c71b /core/java/android/webkit/WebView.java
parentec6156f9e884ba85c76a9c4683f83f18b3f64afa (diff)
Update WebView.PictureListener.onNewPicture to pass null picture.
When targetting >= CUR_DEVELOPMENT, the WebView.PictureListener.onNewPicture API should pass a null picture in the callback. Bug: 8209022, 8244082 Change-Id: I280c7cc89f2a12b1273cd67bbe2c7a6f2ca5892f
Diffstat (limited to 'core/java/android/webkit/WebView.java')
-rw-r--r--core/java/android/webkit/WebView.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java
index d0bfbe813f2b..13215155d24d 100644
--- a/core/java/android/webkit/WebView.java
+++ b/core/java/android/webkit/WebView.java
@@ -334,7 +334,8 @@ public class WebView extends AbsoluteLayout
* See {@link WebView#capturePicture} for details of the picture.
*
* @param view the WebView that owns the picture
- * @param picture the new picture
+ * @param picture the new picture. Applications targetting Jelly
+ * Bean MR2 or above will always receive a null Picture.
* @deprecated Deprecated due to internal changes.
*/
@Deprecated