Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4607)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/sync/ui/ClearSyncDataPreferences.java

Issue 1689693002: Supress deprecation warnings in ClearSyncDataPreferences (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/sync/ui/ClearSyncDataPreferences.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/sync/ui/ClearSyncDataPreferences.java b/chrome/android/java/src/org/chromium/chrome/browser/sync/ui/ClearSyncDataPreferences.java
index b75983f24a905349fc5195db5b9b46a2edef5030..a55fcb48d2f354cbab21363d1821e8913e6d6cd3 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/sync/ui/ClearSyncDataPreferences.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/sync/ui/ClearSyncDataPreferences.java
@@ -26,6 +26,7 @@ public class ClearSyncDataPreferences extends ClearBrowsingDataPreferences {
}
@Override
+ @SuppressWarnings("deprecation")
public void onAttach(Activity activity) {
super.onAttach(activity);
mApplicationContext = activity.getApplicationContext();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698