summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/BrowserBookmarksAdapter.java
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2009-09-14 18:43:27 -0400
committerLeon Scroggins <scroggo@google.com>2009-09-14 18:43:27 -0400
commitb40bf27e35243d85b616908acd641a223807d137 (patch)
treee679c058433ee1bffd836a577ccf8e1955a8ac0e /src/com/android/browser/BrowserBookmarksAdapter.java
parentf4bb18a41259ce62209c768484547d33583f9c77 (diff)
downloadpackages_apps_Browser-b40bf27e35243d85b616908acd641a223807d137.zip
packages_apps_Browser-b40bf27e35243d85b616908acd641a223807d137.tar.gz
packages_apps_Browser-b40bf27e35243d85b616908acd641a223807d137.tar.bz2
Use a new resource for pages that do not have a screenshot in bookmarks.
Change-Id: Iff64adbd0549be5c182dd38a18c5fbeb5e88a1e8
Diffstat (limited to 'src/com/android/browser/BrowserBookmarksAdapter.java')
-rw-r--r--src/com/android/browser/BrowserBookmarksAdapter.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/browser/BrowserBookmarksAdapter.java b/src/com/android/browser/BrowserBookmarksAdapter.java
index bf74ba2..5fb67d0 100644
--- a/src/com/android/browser/BrowserBookmarksAdapter.java
+++ b/src/com/android/browser/BrowserBookmarksAdapter.java
@@ -432,8 +432,7 @@ class BrowserBookmarksAdapter extends BaseAdapter {
byte[] data = mCursor.getBlob(
Browser.HISTORY_PROJECTION_THUMBNAIL_INDEX);
if (data == null) {
- // Backup is to just show white
- thumb.setImageResource(R.drawable.blank);
+ thumb.setImageResource(R.drawable.ic_launcher_shortcut_browser_bookmark);
} else {
thumb.setImageBitmap(
BitmapFactory.decodeByteArray(data, 0, data.length));