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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/payments/PackageManagerDelegate.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/java/src/org/chromium/chrome/browser/payments/PackageManagerDelegate.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/PackageManagerDelegate.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/PackageManagerDelegate.java
index b58fefd7dbd1de3995243936691c9f3b65d9eb3d..8951b33fee4fefb3647f4153b36e87b928e74e65 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/PackageManagerDelegate.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/PackageManagerDelegate.java
@@ -4,6 +4,7 @@
package org.chromium.chrome.browser.payments;
+import android.annotation.SuppressLint;
import android.content.Intent;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo;
@@ -29,6 +30,7 @@ public class PackageManagerDelegate {
* @param packageName The package name of an installed application.
* @return The package information of the installed application.
*/
+ @SuppressLint("PackageManagerGetSignatures")
public PackageInfo getPackageInfoWithSignatures(String packageName) {
try {
return ContextUtils.getApplicationContext().getPackageManager().getPackageInfo(

Powered by Google App Engine
This is Rietveld 408576698