summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2011-07-29 11:21:07 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-07-29 11:21:07 -0700
commit41de3848279b856c181609fb4d7599466e4cd695 (patch)
tree8cf896b7d5be76b98182d83eefcde813857569cc
parent96ca6a8bb8cf687a69120ddd8df21f0687d187d7 (diff)
parent32a915b47ece86b8fa6026e5917eaa9cf651d64b (diff)
downloadpackages_apps_browser-41de3848279b856c181609fb4d7599466e4cd695.zip
packages_apps_browser-41de3848279b856c181609fb4d7599466e4cd695.tar.gz
packages_apps_browser-41de3848279b856c181609fb4d7599466e4cd695.tar.bz2
Merge "apply() instead of commit() SharedPrefs change in BookmarkWidget"
-rw-r--r--src/com/android/browser/widget/BookmarkThumbnailWidgetService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/browser/widget/BookmarkThumbnailWidgetService.java b/src/com/android/browser/widget/BookmarkThumbnailWidgetService.java
index 7d174ee..bd3e289 100644
--- a/src/com/android/browser/widget/BookmarkThumbnailWidgetService.java
+++ b/src/com/android/browser/widget/BookmarkThumbnailWidgetService.java
@@ -114,7 +114,7 @@ public class BookmarkThumbnailWidgetService extends RemoteViewsService {
pref.edit()
.putLong(STATE_CURRENT_FOLDER, rootFolder)
.putLong(STATE_ROOT_FOLDER, rootFolder)
- .commit();
+ .apply();
}
/**