From 95c7276481e7ec1b8b6e84b47156df5bb70d4d24 Mon Sep 17 00:00:00 2001 From: Agi Sferro Date: Fri, 14 Dec 2018 21:33:05 +0000 Subject: [PATCH] Bug 1513395 - Upgrade com.android.tools to 26.2.1. r=snorp,geckoview-reviewers Differential Revision: https://phabricator.services.mozilla.com/D14514 --HG-- extra : moz-landing-system : lando --- mobile/android/annotations/build.gradle | 4 ++-- .../org/mozilla/gecko/annotationProcessors/SDKProcessor.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mobile/android/annotations/build.gradle b/mobile/android/annotations/build.gradle index db4cd6f5e5cc..c14663e1c30a 100644 --- a/mobile/android/annotations/build.gradle +++ b/mobile/android/annotations/build.gradle @@ -3,8 +3,8 @@ buildDir "${topobjdir}/gradle/build/mobile/android/annotations" apply plugin: 'java' dependencies { - compile 'com.android.tools.lint:lint:25.3.1' - compile 'com.android.tools.lint:lint-checks:25.3.1' + compile 'com.android.tools.lint:lint:26.2.1' + compile 'com.android.tools.lint:lint-checks:26.2.1' } sourceCompatibility = JavaVersion.VERSION_1_8 diff --git a/mobile/android/annotations/src/main/java/org/mozilla/gecko/annotationProcessors/SDKProcessor.java b/mobile/android/annotations/src/main/java/org/mozilla/gecko/annotationProcessors/SDKProcessor.java index 623d749bf750..f1ece6357c5a 100644 --- a/mobile/android/annotations/src/main/java/org/mozilla/gecko/annotationProcessors/SDKProcessor.java +++ b/mobile/android/annotations/src/main/java/org/mozilla/gecko/annotationProcessors/SDKProcessor.java @@ -322,7 +322,7 @@ public class SDKProcessor { private static int getAPIVersion(Class cls, Member m) { if (m instanceof Method || m instanceof Constructor) { - return sApiLookup.getCallVersion( + return sApiLookup.getMethodVersion( cls.getName().replace('.', '/'), Utils.getMemberName(m), Utils.getSignature(m));