diff options
author | John Reck <jreck@google.com> | 2012-06-05 11:05:34 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2012-06-05 11:05:34 -0700 |
commit | 1df6df7e33601f1dcd6358a1eea9c34bc6373927 (patch) | |
tree | e7ed5f922c95adf2b59d0b118ff6a022b5f70733 /src/com/android/browser/BrowserBookmarksAdapterItem.java | |
parent | 3c573ac4dbc0e9a117a9540c410911bab52dffa7 (diff) | |
download | packages_apps_Browser-1df6df7e33601f1dcd6358a1eea9c34bc6373927.zip packages_apps_Browser-1df6df7e33601f1dcd6358a1eea9c34bc6373927.tar.gz packages_apps_Browser-1df6df7e33601f1dcd6358a1eea9c34bc6373927.tar.bz2 |
Don't show stale thumbnails
Bug: 6610952
We don't null item.thumbnail because we want to recycle the bitmap
if the item changes, so add a boolean saying whether or not we have
an actual thumbnail to show to avoid showing stale data
Change-Id: Ibfd485cb7f3ea8991222b8e99704170bf331472b
Diffstat (limited to 'src/com/android/browser/BrowserBookmarksAdapterItem.java')
-rw-r--r-- | src/com/android/browser/BrowserBookmarksAdapterItem.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/browser/BrowserBookmarksAdapterItem.java b/src/com/android/browser/BrowserBookmarksAdapterItem.java index 64b1ca2..6b99578 100644 --- a/src/com/android/browser/BrowserBookmarksAdapterItem.java +++ b/src/com/android/browser/BrowserBookmarksAdapterItem.java @@ -21,5 +21,6 @@ public class BrowserBookmarksAdapterItem { public String url; public CharSequence title; public BitmapDrawable thumbnail; + public boolean has_thumbnail; public boolean is_folder; } |