diff options
| author | 2014-02-20 10:27:55 +0000 | |
|---|---|---|
| committer | 2014-02-20 10:27:55 +0000 | |
| commit | a1226a7a8a9923fb230ca5657c249aa4f7fdbe43 (patch) | |
| tree | 157cd9a6aacd5341353270d9195ff29565a853df | |
| parent | c4f6c351e18380e712d5d365d2a13cfa5674daf7 (diff) | |
Make LruCache.resize(int) public
bug: https://code.google.com/p/android/issues/detail?id=65062
bug: https://code.google.com/p/android/issues/detail?id=35349
Change-Id: Ia271bc45ba2b4c0f81b61b6147be5530ee2dfd67
| -rw-r--r-- | api/current.txt | 1 | ||||
| -rw-r--r-- | core/java/android/util/LruCache.java | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/api/current.txt b/api/current.txt index 46ff80cbb744..edcf17b41a2b 100644 --- a/api/current.txt +++ b/api/current.txt @@ -27145,6 +27145,7 @@ package android.util { method public final V put(K, V); method public final synchronized int putCount(); method public final V remove(K); + method public void resize(int); method public final synchronized int size(); method protected int sizeOf(K, V); method public final synchronized java.util.Map<K, V> snapshot(); diff --git a/core/java/android/util/LruCache.java b/core/java/android/util/LruCache.java index dd504c159c8e..401548800ec8 100644 --- a/core/java/android/util/LruCache.java +++ b/core/java/android/util/LruCache.java @@ -87,9 +87,8 @@ public class LruCache<K, V> { /** * Sets the size of the cache. - * @param maxSize The new maximum size. * - * @hide + * @param maxSize The new maximum size. */ public void resize(int maxSize) { if (maxSize <= 0) { |