diff options
author | Kristian Monsen <kristianm@google.com> | 2012-08-09 15:33:08 -0400 |
---|---|---|
committer | Kristian Monsen <kristianm@google.com> | 2012-09-07 15:34:13 -0400 |
commit | 5cc2351ded6a13fadcc3bb14fdaf31ac66c05b2d (patch) | |
tree | 39e0045d50fd15631ea53a0faafdc93e9380451f /core/java/android/webkit/WebSettings.java | |
parent | fb3ec448f1208d75edebff0e93fa97a8913ff29e (diff) | |
download | frameworks_base-5cc2351ded6a13fadcc3bb14fdaf31ac66c05b2d.zip frameworks_base-5cc2351ded6a13fadcc3bb14fdaf31ac66c05b2d.tar.gz frameworks_base-5cc2351ded6a13fadcc3bb14fdaf31ac66c05b2d.tar.bz2 |
Deprecating methods (and a constant) for JB MR1
Change-Id: I3eb0eaff5ea5d8984ad143f801efa19e25bd0685
Diffstat (limited to 'core/java/android/webkit/WebSettings.java')
-rw-r--r-- | core/java/android/webkit/WebSettings.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/core/java/android/webkit/WebSettings.java b/core/java/android/webkit/WebSettings.java index e8ff01f..a29ff37 100644 --- a/core/java/android/webkit/WebSettings.java +++ b/core/java/android/webkit/WebSettings.java @@ -102,7 +102,12 @@ public abstract class WebSettings { /** * Normal cache usage mode. Use with {@link #setCacheMode}. + * + * @deprecated This value is obsolete, as from API level + * {@link android.os.Build.VERSION_CODES#HONEYCOMB} and onwards it has the + * same effect as {@link #LOAD_DEFAULT}. */ + @Deprecated public static final int LOAD_NORMAL = 0; /** @@ -333,7 +338,10 @@ public abstract class WebSettings { * If it is true, WebView will choose a solution to maximize the performance. * e.g. the WebView's content may not be updated during the transition. * If it is false, WebView will keep its fidelity. The default value is false. + * + * @deprecated This method is now obsolete, and will become a no-op in future. */ + @Deprecated public void setEnableSmoothTransition(boolean enable) { throw new MustOverrideException(); } @@ -343,7 +351,10 @@ public abstract class WebSettings { * zooming. * * @see #setEnableSmoothTransition + * + * @deprecated This method is now obsolete, and will become a no-op in future. */ + @Deprecated public boolean enableSmoothTransition() { throw new MustOverrideException(); } |