From 03ef7562531d40fa1bf8a2ff6f7a0b7e2e8247d2 Mon Sep 17 00:00:00 2001 From: renwj Date: Mon, 5 Dec 2022 10:11:29 +0800 Subject: [PATCH 1/3] =?UTF-8?q?[v2.13.0]=E8=AF=AF=E5=90=88=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=81=A2=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 16 ++++++++-------- build.gradle | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 0ed788d37f..6ee4ce5f6d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -36,14 +36,14 @@ if (!isAndroidTestBuild()) { apply plugin: 'apm-plugin' } -if (!isAndroidTestBuild()) { - apply plugin: 'bytex.threadOpt' - thread_opt { - enable !isReleaseBuild - enableInDebug !isReleaseBuild - logLevel "DEBUG" - } -} +//if (!isAndroidTestBuild()) { +// apply plugin: 'bytex.threadOpt' +// thread_opt { +// enable !isReleaseBuild +// enableInDebug !isReleaseBuild +// logLevel "DEBUG" +// } +//} if (!isAndroidTestBuild()) { apply plugin: 'LancetX' diff --git a/build.gradle b/build.gradle index 0eb109a8a4..81379d1baa 100644 --- a/build.gradle +++ b/build.gradle @@ -34,7 +34,7 @@ buildscript { classpath "com.mogo.cloud:hook:${HOOK_LOG_VERSION}" classpath "com.mogo.cloud:bizconfig:${BIZCONFIG_VERSION}" classpath 'com.volcengine:apm_insight_plugin:1.4.1' - classpath "com.mogo.thread.opt:plg:${THREAD_OPT_VERSION}" +// classpath "com.mogo.thread.opt:plg:${THREAD_OPT_VERSION}" classpath 'com.mogo.cloud:systrace:1.0.1' classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.18' classpath 'com.mogo.sticky:service:1.0.8' From c57d307f8701deb1f97deb5b4a25e5685ac01df6 Mon Sep 17 00:00:00 2001 From: renwj Date: Mon, 5 Dec 2022 10:47:54 +0800 Subject: [PATCH 2/3] =?UTF-8?q?[2.13.0]=E4=BF=AE=E6=AD=A3leakcanary?= =?UTF-8?q?=E5=9C=A8monkey=E6=B5=8B=E8=AF=95=E4=B8=AD=E5=87=BA=E7=8E=B0?= =?UTF-8?q?=E7=9A=84=E5=B4=A9=E6=BA=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/mogo/launcher/lancet/LeakCanaryCrashFix.kt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/src/main/java/com/mogo/launcher/lancet/LeakCanaryCrashFix.kt b/app/src/main/java/com/mogo/launcher/lancet/LeakCanaryCrashFix.kt index 738fa78a8e..e7b10be35d 100644 --- a/app/src/main/java/com/mogo/launcher/lancet/LeakCanaryCrashFix.kt +++ b/app/src/main/java/com/mogo/launcher/lancet/LeakCanaryCrashFix.kt @@ -48,4 +48,15 @@ class LeakCanaryCrashFix { t.printStackTrace() } } + + @Insert + @TargetClass("leakcanary.internal.activity.db.Io\$execute\$2") + @TargetMethod(methodName = "run") + fun proxyRun() { + try { + Origin.callVoid() + } catch (t: Throwable) { + t.printStackTrace() + } + } } \ No newline at end of file From 21024bb7b84e6720b38c000077c9d96ca2f3a0be Mon Sep 17 00:00:00 2001 From: donghongyu Date: Mon, 5 Dec 2022 11:30:14 +0800 Subject: [PATCH 3/3] =?UTF-8?q?[2.13.0]=20[Change]=20[Catch=20=E5=9C=B0?= =?UTF-8?q?=E5=9B=BE=E5=88=9D=E5=A7=8B=E5=8C=96crash]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: donghongyu --- .../com/mogo/eagle/core/function/map/MapFragment.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/map/MapFragment.java b/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/map/MapFragment.java index 88d4d61e86..4add2174dc 100644 --- a/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/map/MapFragment.java +++ b/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/map/MapFragment.java @@ -342,8 +342,12 @@ public class MapFragment extends MvpFragment @Override public void setIsDrawPointCloud(boolean isDrawPointCloud) { - // 是否绘制点云 - PointCloudHelper.INSTANCE.setIsDrawPointCloud(isDrawPointCloud); + try { + // 是否绘制点云 + PointCloudHelper.INSTANCE.setIsDrawPointCloud(isDrawPointCloud); + } catch (Exception e) { + e.printStackTrace(); + } } /**