diff options
author | Selim Gurun <sgurun@google.com> | 2012-06-28 11:21:05 -0700 |
---|---|---|
committer | Selim Gurun <sgurun@google.com> | 2012-07-10 10:36:12 -0700 |
commit | b632adfaf445ff6f0c07bfc54671d204ad0e5a67 (patch) | |
tree | f670d9e6436986187b6f9fa91ba64b8c81b88c0d /core/java/android/webkit/WebSettings.java | |
parent | 28b7809e309637decc867547dc34b7635785c5f8 (diff) | |
download | frameworks_base-b632adfaf445ff6f0c07bfc54671d204ad0e5a67.zip frameworks_base-b632adfaf445ff6f0c07bfc54671d204ad0e5a67.tar.gz frameworks_base-b632adfaf445ff6f0c07bfc54671d204ad0e5a67.tar.bz2 |
Update documentation to clarify AppCache usage
Bug: 5869022
Change-Id: I46abecfb0e8975cc924458f444f95cdabaa3f712
Diffstat (limited to 'core/java/android/webkit/WebSettings.java')
-rw-r--r-- | core/java/android/webkit/WebSettings.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/core/java/android/webkit/WebSettings.java b/core/java/android/webkit/WebSettings.java index f2a041a..5e5e23c 100644 --- a/core/java/android/webkit/WebSettings.java +++ b/core/java/android/webkit/WebSettings.java @@ -1005,8 +1005,11 @@ public abstract class WebSettings { } /** - * Sets the maximum size for the Application Caches content. The default is - * {@link Long#MAX_VALUE}. + * Sets the maximum size for the Application Cache content. The passed size + * will be rounded to the nearest value that the database can support, so + * this should be viewed as a guide, not a hard limit. Setting the + * size to a value less than current database size does not cause the + * database to be trimmed. The default size is {@link Long.MAX_VALUE}. * * @param appCacheMaxSize the maximum size in bytes */ |