diff options
author | Jesse Wilson <jessewilson@google.com> | 2011-02-10 19:19:02 -0800 |
---|---|---|
committer | Jesse Wilson <jessewilson@google.com> | 2011-02-10 19:20:31 -0800 |
commit | c2c9a2492cc99e20d23d2d92df061f35a8b14304 (patch) | |
tree | f93071787303a3dc2fdd3486ad1285f026743347 /core/java/android/util | |
parent | b1d884d58994fe5ed74aa8d9bbe223c872cabe74 (diff) | |
download | frameworks_base-c2c9a2492cc99e20d23d2d92df061f35a8b14304.zip frameworks_base-c2c9a2492cc99e20d23d2d92df061f35a8b14304.tar.gz frameworks_base-c2c9a2492cc99e20d23d2d92df061f35a8b14304.tar.bz2 |
Don't add setMaxSize() to the LruCache API. But do add maxSize().
Change-Id: I9697ab29491dabe85c2400defdde16b9abcd003a
Diffstat (limited to 'core/java/android/util')
-rw-r--r-- | core/java/android/util/LruCache.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/util/LruCache.java b/core/java/android/util/LruCache.java index af45abc..6ee09cb 100644 --- a/core/java/android/util/LruCache.java +++ b/core/java/android/util/LruCache.java @@ -158,6 +158,8 @@ public class LruCache<K, V> { * Sets the maximum size of this cache. Decreasing the maximum size may * evict entries from this cache. * + * @hide + * * @param maxSize for caches that do not override {@link #sizeOf}, this is * the maximum number of entries in the cache. For all other caches, * this is the maximum sum of the sizes of the entries in this cache. |