Bug 1513395 - Upgrade com.android.tools to 26.2.1. r=snorp,geckoview-reviewers
authorAgi Sferro <agi@mozilla.com>
Fri, 14 Dec 2018 21:33:05 +0000
changeset 510578 cf2b899cc4ac5b9390ee559b69c8995e33ca5b3f
parent 510577 8444e7b13cdd720437f7a2d97d780b9befc819d5
child 510579 31bf1cd657a32a8cc0127966c4b823bb2365de78
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssnorp, geckoview-reviewers
bugs1513395
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1513395 - Upgrade com.android.tools to 26.2.1. r=snorp,geckoview-reviewers Differential Revision: https://phabricator.services.mozilla.com/D14514
mobile/android/annotations/build.gradle
mobile/android/annotations/src/main/java/org/mozilla/gecko/annotationProcessors/SDKProcessor.java
--- a/mobile/android/annotations/build.gradle
+++ b/mobile/android/annotations/build.gradle
@@ -1,11 +1,11 @@
 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
 targetCompatibility = JavaVersion.VERSION_1_8
--- 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
@@ -317,17 +317,17 @@ public class SDKProcessor {
             writeOutputFiles(outdir, generatedFilePrefix, headerFile, implementationFile);
             long e = System.currentTimeMillis();
             System.out.println("SDK processing complete in " + (e - s) + "ms");
         }
     }
 
     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));
         } else if (m instanceof Field) {
             return sApiLookup.getFieldVersion(
                     Utils.getClassDescriptor(m.getDeclaringClass()), m.getName());
         } else {
             throw new IllegalArgumentException("expected member to be Method, Constructor, or Field");