diff options
Diffstat (limited to 'src/com/android/browser/provider')
-rw-r--r-- | src/com/android/browser/provider/BrowserProvider2.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/browser/provider/BrowserProvider2.java b/src/com/android/browser/provider/BrowserProvider2.java index 10b3821..3033db4 100644 --- a/src/com/android/browser/provider/BrowserProvider2.java +++ b/src/com/android/browser/provider/BrowserProvider2.java @@ -1441,6 +1441,9 @@ public class BrowserProvider2 extends SQLiteContentProvider { byte[] cthumb = null; byte[] ctouch = null; try { + if (cursor.getCount() <= 0) { + return nfavicon != null || nthumb != null || ntouch != null; + } while (cursor.moveToNext()) { if (nfavicon != null) { cfavicon = cursor.getBlob(0); |