[6.5.0] note the test code
This commit is contained in:
@@ -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())
|
||||
|
||||
@@ -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 记录方法执行时间
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
apply plugin: 'LancetX'
|
||||
LancetX {
|
||||
enable false
|
||||
enable true
|
||||
enableInDebug true
|
||||
blackList = [
|
||||
"com.mogo.launcher.lancet.jank",
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user