From 1df6df7e33601f1dcd6358a1eea9c34bc6373927 Mon Sep 17 00:00:00 2001 From: John Reck Date: Tue, 5 Jun 2012 11:05:34 -0700 Subject: 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 --- src/com/android/browser/BrowserBookmarksAdapterItem.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/com/android/browser/BrowserBookmarksAdapterItem.java') 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; } -- cgit v1.1