From a7746252cc2a63c8a7658bb32593ad92078f5b1c Mon Sep 17 00:00:00 2001 From: dengshiwei Date: Thu, 13 Aug 2020 16:23:15 +0800 Subject: [PATCH] Release 3.2.9 --- plugin/ext.gradle | 2 +- .../android/plugin/SensorsAnalyticsClassVisitor.groovy | 2 +- .../analytics/android/plugin/SensorsAnalyticsTransform.groovy | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/ext.gradle b/plugin/ext.gradle index 0b2e322..a914189 100755 --- a/plugin/ext.gradle +++ b/plugin/ext.gradle @@ -1,5 +1,5 @@ project.ext { - pluginVersion = '3.2.8' + pluginVersion = '3.2.9' Properties properties = new Properties() if (project.file('local.properties').exists()) { properties.load(project.file('local.properties').newDataInputStream()) diff --git a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsClassVisitor.groovy b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsClassVisitor.groovy index d16dff8..6872f53 100644 --- a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsClassVisitor.groovy +++ b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsClassVisitor.groovy @@ -499,7 +499,7 @@ class SensorsAnalyticsClassVisitor extends ClassVisitor { } } handleClassMethod(mClassName, nameDesc) - if (!isHasTracked && isOnClickMethod) { + if (isOnClickMethod) { trackViewOnClick(methodVisitor, variableID) isHasTracked = true } diff --git a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsTransform.groovy b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsTransform.groovy index af7a23a..437e2c4 100644 --- a/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsTransform.groovy +++ b/plugin/src/main/groovy/com/sensorsdata/analytics/android/plugin/SensorsAnalyticsTransform.groovy @@ -46,7 +46,7 @@ import java.util.jar.JarOutputStream class SensorsAnalyticsTransform extends Transform { private SensorsAnalyticsTransformHelper transformHelper - public static final String VERSION = "3.2.8" + public static final String VERSION = "3.2.9" public static final String MIN_SDK_VERSION = "4.0.7" private WaitableExecutor waitableExecutor private URLClassLoader urlClassLoader