From 328050c3286461570d100db64c1b94d072609505 Mon Sep 17 00:00:00 2001 From: EmArrow Date: Fri, 21 Jun 2024 14:53:22 +0800 Subject: [PATCH] [6.5.0] note the test code --- app/build.gradle | 2 +- .../function/business/roadcross/RoadCrossCameraManager.kt | 2 +- .../java/com/mogo/eagle/core/function/view/MapBizView.kt | 6 +++--- gradle/bytex/bytex_lancetx.gradle | 2 +- gradle/bytex/bytex_matrix.gradle | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 696bd12edc..0cdd1b7736 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,7 +8,7 @@ apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt' -//apply from: rootProject.file('gradle/bytex/bytex.gradle') +apply from: rootProject.file('gradle/bytex/bytex.gradle') Properties properties = new Properties() properties.load(project.rootProject.file("gradle.properties").newDataInputStream()) diff --git a/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/business/roadcross/RoadCrossCameraManager.kt b/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/business/roadcross/RoadCrossCameraManager.kt index 010580b0ae..ed0a29a716 100644 --- a/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/business/roadcross/RoadCrossCameraManager.kt +++ b/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/business/roadcross/RoadCrossCameraManager.kt @@ -41,7 +41,7 @@ class RoadCrossCameraManager : CallerMapRoadListenerManager.OnRoadListener { fun init(context: Context?) { mContext = context - CallerMapRoadListenerManager.registerRoadListener(TAG, this) //todo emArrow test note + CallerMapRoadListenerManager.registerRoadListener(TAG, this) } //todo 记录方法执行时间 diff --git a/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/view/MapBizView.kt b/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/view/MapBizView.kt index 139fd8365c..cebf36fe4f 100644 --- a/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/view/MapBizView.kt +++ b/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/view/MapBizView.kt @@ -110,9 +110,9 @@ class MapBizView(context: Context?, attrs: AttributeSet?) : MogoMapView(context, override fun onChassisLocationWGS84(gnssInfo: MogoLocation) { // 跟新地图控件 112.582776,26.931655 - gnssInfo.longitude = 112.582776 - gnssInfo.latitude = 26.931655 //todo emArrow test - gnssInfo.heading = 15.0 +// gnssInfo.longitude = 112.582776 +// gnssInfo.latitude = 26.931655 //todo emArrow test +// gnssInfo.heading = 15.0 setExtraGPSData(gnssInfo) accLimit = gnssInfo.acceleration < accThreshold } diff --git a/gradle/bytex/bytex_lancetx.gradle b/gradle/bytex/bytex_lancetx.gradle index ac56f4968c..fcb77e1c5d 100644 --- a/gradle/bytex/bytex_lancetx.gradle +++ b/gradle/bytex/bytex_lancetx.gradle @@ -1,6 +1,6 @@ apply plugin: 'LancetX' LancetX { - enable false + enable true enableInDebug true blackList = [ "com.mogo.launcher.lancet.jank", diff --git a/gradle/bytex/bytex_matrix.gradle b/gradle/bytex/bytex_matrix.gradle index e7d52f4de5..05e07ead89 100644 --- a/gradle/bytex/bytex_matrix.gradle +++ b/gradle/bytex/bytex_matrix.gradle @@ -2,7 +2,7 @@ if (!rootProject.isReleaseBuild()) { apply plugin: 'bytex.matrix' matrix { trace { - enable = false //if you don't want to use trace canary, set false + enable = true //if you don't want to use trace canary, set false baseMethodMapFile = "${project.buildDir}/matrix_output/customMethodMapping.txt" blackListFile = "${project.projectDir}/matrixTrace/blackMethodList.txt" }