summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJesse Wilson <jessewilson@google.com>2011-02-10 19:06:09 -0800
committerJesse Wilson <jessewilson@google.com>2011-02-11 11:35:22 -0800
commitdfe515e49ae8a0275012b56a4a79d2dfcc017db2 (patch)
tree25e70a1bf47cc0b69a5631ae58996091b31f132e /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentc2c9a2492cc99e20d23d2d92df061f35a8b14304 (diff)
Remove LruCache.setMaxSize().
Dynamically changing a max cache size is clumsy; almost everyone should set this when they create the cache. Fix SQLiteDatabase to copy entries into a new cache when the size is changed. In pratice this will always be immediately after the SQLiteDatabase is created. Since the cache field is no longer final, change the guard on the cache field to the SQLiteDatabase instance itself. Change-Id: I4e325f06edc551636723568a52770c0982e2d945
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions