Index: chrome/android/java/src/org/chromium/chrome/browser/bookmarkswidget/BookmarkWidgetService.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/bookmarkswidget/BookmarkWidgetService.java b/chrome/android/java/src/org/chromium/chrome/browser/bookmarkswidget/BookmarkWidgetService.java |
index 142c1f385247f677e68039643da7b5461431f0d5..ebdcb82697f2ba9d4c5637a4f15d727760180a1a 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/bookmarkswidget/BookmarkWidgetService.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/bookmarkswidget/BookmarkWidgetService.java |
@@ -4,6 +4,7 @@ |
package org.chromium.chrome.browser.bookmarkswidget; |
+import android.annotation.SuppressLint; |
import android.appwidget.AppWidgetManager; |
import android.content.Context; |
import android.content.Intent; |
@@ -80,6 +81,8 @@ public class BookmarkWidgetService extends RemoteViewsService { |
return context.getPackageName() + ACTION_CHANGE_FOLDER_SUFFIX; |
} |
+ // TODO(crbug.com/635567): Fix this properly. |
+ @SuppressLint("DefaultLocale") |
static SharedPreferences getWidgetState(Context context, int widgetId) { |
StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads(); |
StrictMode.allowThreadDiskWrites(); |