金坛河长通 v1.1.6版本的 MD5 值为:20e883288031684b3415ea19cd21af4d
以下内容为反编译后的 k.java 源代码,内容仅作参考
package com.melink.bqmmsdk.c.a;
import android.content.Context;
import android.os.Handler;
import android.os.Message;
import com.melink.baseframe.utils.KJLoger;
import com.melink.bqmmsdk.bean.EmojiPackage;
import com.melink.bqmmsdk.resourceutil.BQMMConstant;
import com.melink.bqmmsdk.sdk.BQMM;
import java.io.File;
import java.util.ArrayList;
public class k extends a {
private Handler c;
private int d = 0;
private Context e = BQMM.getInstance().getApplicationContext();
private Handler f = new l(this, this.e.getMainLooper());
public static void c(EmojiPackage emojiPackage) {
com.melink.bqmmsdk.sdk.e.a().a(emojiPackage);
}
public void a(k kVar, int i) {
Message obtainMessage = this.c.obtainMessage();
obtainMessage.what = i;
obtainMessage.obj = kVar;
this.c.sendMessage(obtainMessage);
}
public void a(Handler handler) {
this.c = handler;
File b = com.melink.bqmmsdk.utils.c.b(BQMM.getInstance().getApplicationContext(), a(this.a.getGuid()));
String str = "http://7xl6jm.com2.z0.glb.qiniucdn.com/" + a().getGuid() + ".zip?timestamp=" + System.currentTimeMillis();
long a = com.melink.bqmmsdk.utils.c.a(b);
if (a > BQMMConstant.DIR_CACHE_LIMIT) {
KJLoger.debug(b + " size has exceed limit." + a);
com.melink.bqmmsdk.utils.c.a(b, false);
}
com.melink.bqmmsdk.c.b.a aVar = new com.melink.bqmmsdk.c.b.a(this.f, str, b, a().getGuid() + ".zip");
com.melink.bqmmsdk.c.b.d dVar = new com.melink.bqmmsdk.c.b.d(this.f, b, a().getGuid());
ArrayList arrayList = new ArrayList();
arrayList.add(dVar);
aVar.a(arrayList);
}
public void a(File file) {
if (this.d <= 2) {
this.d++;
file.delete();
a(this.c);
} else {
file.delete();
a(this, 14);
}
}
private String a(String str) {
return BQMMConstant.CACHE_PATH + File.separator + str;
}
}