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

Unified Diff: chrome/android/webapk/libs/client/src/org/chromium/webapk/lib/client/DexOptimizer.java

Issue 2830843004: Update to newer Android Lint and suppress new Lint errors (Closed)
Patch Set: rebase Created 3 years, 8 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/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 97938df558441d31183faae330f970c33b001be3..1b4ab03b9283494ef73cb4e967e15be292bef8bb 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
@@ -171,6 +171,8 @@ public class DexOptimizer {
* client's file space.
*/
private static class VMRuntime {
+ // TODO(crbug.com/635567): Fix this properly.
Ted C 2017/04/27 19:02:48 the comment above implies this is likely not an is
F 2017/04/28 18:25:15 Done.
+ @SuppressLint("NewApi")
@SuppressWarnings("unchecked")
public static String getCurrentInstructionSet() throws NoSuchMethodException {
Method getCurrentInstructionSetMethod;

Powered by Google App Engine
This is Rietveld 408576698