Index: chrome/android/java/src/org/chromium/chrome/browser/externalauth/ExternalAuthUtils.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/externalauth/ExternalAuthUtils.java b/chrome/android/java/src/org/chromium/chrome/browser/externalauth/ExternalAuthUtils.java |
index 27f5a9aef3fedd8b522683eb542c34b83e648a1e..c306ad842236e2ef89aa1b5bd77de3bf452d633b 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/externalauth/ExternalAuthUtils.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/externalauth/ExternalAuthUtils.java |
@@ -4,6 +4,7 @@ |
package org.chromium.chrome.browser.externalauth; |
+import android.annotation.SuppressLint; |
import android.content.Context; |
import android.content.pm.ApplicationInfo; |
import android.content.pm.PackageManager; |
@@ -74,6 +75,8 @@ public class ExternalAuthUtils { |
* @param packageName The package name to inquire about. |
*/ |
@VisibleForTesting |
+ // TODO(crbug.com/635567): Fix this properly. |
+ @SuppressLint("WrongConstant") |
public boolean isSystemBuild(PackageManager pm, String packageName) { |
try { |
ApplicationInfo info = pm.getApplicationInfo(packageName, ApplicationInfo.FLAG_SYSTEM); |