OSDN Git Service

Request icons in the background.
authorPatrick Scott <phanna@android.com>
Tue, 9 Mar 2010 21:02:08 +0000 (16:02 -0500)
committerPatrick Scott <phanna@android.com>
Thu, 11 Mar 2010 15:19:12 +0000 (10:19 -0500)
commitc1cf63a4c15ad81f4d19e10574e9dba91f0b83e4
tree3233b47f7524012efdfe7e48a5756711e21f11fe
parentf739271c1cf974a1057a9a8a3f42b89937836228
Request icons in the background.

BrowserBookmarksAdapter does not need to request bookmark icons as most of the
bookmarks have up-to-date icons. We still need to request all icons on start up
because a new icon may be loaded as a result of clicking a history items.

Move the icon request to a background thread to not block the ui thread on large
db lookups.

Remove MostVisitedActivity as it is no longer used.

Bug: 2496872
Change-Id: I378dce8fdb7e825da96594cd31b720ea24758af1
AndroidManifest.xml
src/com/android/browser/BrowserBookmarksAdapter.java
src/com/android/browser/BrowserBookmarksPage.java
src/com/android/browser/BrowserHistoryPage.java
src/com/android/browser/CombinedBookmarkHistoryActivity.java
src/com/android/browser/MostVisitedActivity.java [deleted file]