summaryrefslogtreecommitdiffstats
path: root/core/java/android/webkit/CacheManager.java
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2011-02-14 16:34:59 -0800
committerRomain Guy <romainguy@google.com>2011-02-14 16:34:59 -0800
commit0211a0a10d20ec99bd78905ea9cd2960f7beb4c8 (patch)
treedbca87d7e13f32489c776d6650cdad1acd636d09 /core/java/android/webkit/CacheManager.java
parent676b17391fb6583e5df944c36b1bd4c1be835689 (diff)
downloadframeworks_base-0211a0a10d20ec99bd78905ea9cd2960f7beb4c8.zip
frameworks_base-0211a0a10d20ec99bd78905ea9cd2960f7beb4c8.tar.gz
frameworks_base-0211a0a10d20ec99bd78905ea9cd2960f7beb4c8.tar.bz2
Gracefully handle drawing caches allocation failure.
Bug #3431451 This bug was causing ListView to not render properly when showing an item larger than the maximum drawing cache size. ListView relies on the drawing cache to correctly mask all the background pixels. However, if the cache is not properly created, the background will show through even though ListView.isOpaque() == true. This change detects this case and falls back to the default non opaque behavior. Change-Id: I30a45e7a03fb7ebb2b12f0e85c075c2901954c44
Diffstat (limited to 'core/java/android/webkit/CacheManager.java')
0 files changed, 0 insertions, 0 deletions