From 4aad1022eb0c364c204caafb6ebc977aa23449bf Mon Sep 17 00:00:00 2001 From: Kristian Monsen Date: Thu, 17 Nov 2011 13:28:02 +0000 Subject: Improving PictureListener deprecating comments Change-Id: If189823962c49db9681845996e97eec31fedcca6 --- core/java/android/webkit/WebView.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java index ec2f55bc4819..e56dfa4cf1a9 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java @@ -927,7 +927,11 @@ public class WebView extends AbsoluteLayout * Notify the listener that the picture has changed. * @param view The WebView that owns the picture. * @param picture The new picture. - * @deprecated This method is now obsolete. + * @deprecated Due to internal changes, the picture does not include + * composited layers such as fixed position elements or scrollable divs. + * While the PictureListener API can still be used to detect changes in + * the WebView content, you are advised against its usage until a replacement + * is provided in a future Android release */ @Deprecated public void onNewPicture(WebView view, Picture picture); -- cgit v1.2.3-59-g8ed1b