pull/21/head
fengyuecanzhu 3 years ago
parent 3499361550
commit b707327c07
  1. 2
      app/src/test/java/Test.java
  2. 4
      dynamic/src/main/java/xyz/fycz/dynamic/App243Fix.kt

@ -117,7 +117,7 @@ public class Test {
@org.junit.Test @org.junit.Test
public void md5(){ 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)); System.out.println(MD5Utils.INSTANCE.getFileMD5s(file, 32));
} }
} }

@ -49,9 +49,9 @@ object App243Fix {
MapleUtils.callMethod(obj, "startNormal") MapleUtils.callMethod(obj, "startNormal")
SharedPreAdUtils.getInstance().putBoolean("adTimeOut", true) SharedPreAdUtils.getInstance().putBoolean("adTimeOut", true)
} else { } else {
if (time > 5){ /*if (time > 5){
MapleUtils.setIntField(obj, "timeOut", 5) MapleUtils.setIntField(obj, "timeOut", 5)
} }*/
val handler = MapleUtils.getObjectField(obj, "handler") as Handler val handler = MapleUtils.getObjectField(obj, "handler") as Handler
val adTimeOutRunnable = MapleUtils.getObjectField(obj, "adTimeOutRunnable") as Runnable val adTimeOutRunnable = MapleUtils.getObjectField(obj, "adTimeOutRunnable") as Runnable
handler.postDelayed(adTimeOutRunnable, 1000) handler.postDelayed(adTimeOutRunnable, 1000)

Loading…
Cancel
Save