Index: chrome/android/webapk/libs/client/src/org/chromium/webapk/lib/client/DexOptimizer.java |
diff --git a/chrome/android/webapk/libs/client/src/org/chromium/webapk/lib/client/DexOptimizer.java b/chrome/android/webapk/libs/client/src/org/chromium/webapk/lib/client/DexOptimizer.java |
index 143c043e5c6b5883c0e84b844e0bc3215e888e52..97938df558441d31183faae330f970c33b001be3 100644 |
--- a/chrome/android/webapk/libs/client/src/org/chromium/webapk/lib/client/DexOptimizer.java |
+++ b/chrome/android/webapk/libs/client/src/org/chromium/webapk/lib/client/DexOptimizer.java |
@@ -4,6 +4,7 @@ |
package org.chromium.webapk.lib.client; |
+import android.annotation.SuppressLint; |
import android.os.Build; |
import android.util.Log; |
@@ -30,6 +31,8 @@ public class DexOptimizer { |
* @param dexFile Path to a dex file. |
* @return True if the dex file was successfully optimized. |
*/ |
+ // TODO(crbug.com/635567): Fix this properly. |
+ @SuppressLint("SetWorldReadable") |
public static boolean optimize(File dexFile) { |
if (!dexFile.exists()) { |
Log.e(TAG, "Dex file does not exist! " + dexFile.getAbsolutePath()); |