summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/BrowserBookmarksAdapterItem.java
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2012-06-05 11:05:34 -0700
committerJohn Reck <jreck@google.com>2012-06-05 11:05:34 -0700
commit1df6df7e33601f1dcd6358a1eea9c34bc6373927 (patch)
treee7ed5f922c95adf2b59d0b118ff6a022b5f70733 /src/com/android/browser/BrowserBookmarksAdapterItem.java
parent3c573ac4dbc0e9a117a9540c410911bab52dffa7 (diff)
downloadpackages_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.java1
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;
}