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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkVersionManager.java

Issue 2363113003: Lint suppressions needed for Android SDK roll. (Closed)
Patch Set: Suppress alert box presubmit. Created 4 years, 3 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
Index: chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkVersionManager.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkVersionManager.java b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkVersionManager.java
index 9e7b5807ba9102b47868a898fbc4b24cae26f0ee..6fe56ec0bf39ece25fa10d6f8ae06de306c0ac4d 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkVersionManager.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkVersionManager.java
@@ -4,6 +4,7 @@
package org.chromium.chrome.browser.webapps;
+import android.annotation.SuppressLint;
import android.content.Context;
import android.content.SharedPreferences;
@@ -32,6 +33,8 @@ public class WebApkVersionManager {
* Tries to extract the WebAPK runtime dex from the Chrome APK if it has not tried already.
* Should not be called on UI thread.
*/
+ // TODO(crbug.com/635567): Fix this properly.
+ @SuppressLint("SetWorldReadable")
public static void updateWebApksIfNeeded() {
assert !ThreadUtils.runningOnUiThread();

Powered by Google App Engine
This is Rietveld 408576698