调研通 v3.0.3版本的 MD5 值为:fe075d21227d488bdb9f6aa09d3b3f35
以下内容为反编译后的 c.java 源代码,内容仅作参考
package com.yyt.common.plugin.logger;
import android.app.Activity;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.util.Log;
import com.dianping.logan.m;
import com.yyt.common.o.s;
import java.text.SimpleDateFormat;
import java.util.Date;
public class c {
public static void a(String str, String str2, Throwable th) {
Log.e(str, str2, th);
try {
com.dianping.logan.c.j(str2, 1);
} catch (Exception unused) {
}
}
public static void b(String str, String str2) {
Log.i(str, str2);
try {
com.dianping.logan.c.j(str2, 2);
} catch (Exception unused) {
}
}
public static void c(String str, Activity activity, m mVar) {
try {
PackageInfo packageInfo = activity.getPackageManager().getPackageInfo(activity.getPackageName(), 0);
String str2 = packageInfo.versionName;
com.dianping.logan.c.e("http://ycmp.uf-tobacco.com/yytlogan/logan/upload.json", new SimpleDateFormat("yyyy-MM-dd").format(new Date(System.currentTimeMillis())), packageInfo.packageName, str, s.d(activity), String.valueOf(packageInfo.versionCode), str2, mVar);
} catch (PackageManager.NameNotFoundException e2) {
com.dianping.logan.c.j(e2.getMessage(), 2);
}
}
}