diff options
author | Ben Murdoch <benm@google.com> | 2011-07-29 16:31:48 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2011-07-29 16:52:50 +0100 |
commit | 32a915b47ece86b8fa6026e5917eaa9cf651d64b (patch) | |
tree | 8f9467c82343caefad88ce6c6a35288377c1d740 /src/com/android | |
parent | 9bbd9314fee5f284ff254d7063c30d147fe47454 (diff) | |
download | packages_apps_Browser-32a915b47ece86b8fa6026e5917eaa9cf651d64b.zip packages_apps_Browser-32a915b47ece86b8fa6026e5917eaa9cf651d64b.tar.gz packages_apps_Browser-32a915b47ece86b8fa6026e5917eaa9cf651d64b.tar.bz2 |
apply() instead of commit() SharedPrefs change in BookmarkWidget
Fixes a strict mode violation.
Bug: 5096309
Change-Id: I9993e0b3396a8a8e7fe3c7a26abfffca54267795
Diffstat (limited to 'src/com/android')
-rw-r--r-- | src/com/android/browser/widget/BookmarkThumbnailWidgetService.java | 2 |
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(); } /** |