summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2011-02-16 14:35:59 -0800
committerJohn Reck <jreck@google.com>2011-02-16 14:35:59 -0800
commit617fd83615f490817db7d288d732d6cdd0b47ae5 (patch)
tree1c2e509ca37a55174a2f7da1e22b15b172160244 /src/com/android/browser
parent1390d79f846f8a5982542a7dee545d215d22dbeb (diff)
downloadpackages_apps_Browser-617fd83615f490817db7d288d732d6cdd0b47ae5.zip
packages_apps_Browser-617fd83615f490817db7d288d732d6cdd0b47ae5.tar.gz
packages_apps_Browser-617fd83615f490817db7d288d732d6cdd0b47ae5.tar.bz2
Fix update screenshot when redirected
Bug: 3462227 Change-Id: I3c09bfe2b6ac15541f183b31eaa10b0dc3f3a29b
Diffstat (limited to 'src/com/android/browser')
-rw-r--r--src/com/android/browser/Controller.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/browser/Controller.java b/src/com/android/browser/Controller.java
index e667d67..80da85f 100644
--- a/src/com/android/browser/Controller.java
+++ b/src/com/android/browser/Controller.java
@@ -2007,9 +2007,9 @@ public class Controller
ContentValues values = new ContentValues();
values.put(Images.THUMBNAIL, os.toByteArray());
- values.put(Images.URL, cursor.getString(0));
do {
+ values.put(Images.URL, cursor.getString(0));
cr.update(Images.CONTENT_URI, values, null, null);
} while (cursor.moveToNext());
}