From b707327c07228d4f60aa62fc7901706304a321b2 Mon Sep 17 00:00:00 2001 From: fengyuecanzhu <1021300691@qq.com> Date: Fri, 15 Apr 2022 18:36:53 +0800 Subject: [PATCH] fix bug --- app/src/test/java/Test.java | 2 +- dynamic/src/main/java/xyz/fycz/dynamic/App243Fix.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/test/java/Test.java b/app/src/test/java/Test.java index 168db9f..14e2571 100644 --- a/app/src/test/java/Test.java +++ b/app/src/test/java/Test.java @@ -117,7 +117,7 @@ public class Test { @org.junit.Test public void md5(){ - File file = new File("D:\\Java\\AndroidSdk\\build-tools\\29.0.3\\dynamic_v1.0.2.dex"); + File file = new File("D:\\Java\\AndroidSdk\\build-tools\\29.0.3\\dynamic_v1.0.3.dex"); System.out.println(MD5Utils.INSTANCE.getFileMD5s(file, 32)); } } diff --git a/dynamic/src/main/java/xyz/fycz/dynamic/App243Fix.kt b/dynamic/src/main/java/xyz/fycz/dynamic/App243Fix.kt index 4b9c803..1da6345 100644 --- a/dynamic/src/main/java/xyz/fycz/dynamic/App243Fix.kt +++ b/dynamic/src/main/java/xyz/fycz/dynamic/App243Fix.kt @@ -49,9 +49,9 @@ object App243Fix { MapleUtils.callMethod(obj, "startNormal") SharedPreAdUtils.getInstance().putBoolean("adTimeOut", true) } else { - if (time > 5){ + /*if (time > 5){ MapleUtils.setIntField(obj, "timeOut", 5) - } + }*/ val handler = MapleUtils.getObjectField(obj, "handler") as Handler val adTimeOutRunnable = MapleUtils.getObjectField(obj, "adTimeOutRunnable") as Runnable handler.postDelayed(adTimeOutRunnable, 1000)