佳GO v3.0.0版本的 MD5 值为:febdbe251c5346d8ea051b2f02d4ce89

以下内容为反编译后的 gh2.java 源代码,内容仅作参考


package p.a.y.e.a.s.e.net;

import android.content.Context;
import java.io.File;
import java.util.HashMap;

public final class gh2 implements Runnable {
    public final Context lite_static;
    public final boolean lite_switch;

    public gh2(Context context, boolean z) {
        this.lite_static = context;
        this.lite_switch = z;
    }

    @Override
    public void run() {
        HashMap<String, String> lite_do;
        String str;
        File lite_for;
        File file = null;
        try {
            lite_do = tf2.lite_do(this.lite_static, "");
            if (this.lite_switch) {
                str = this.lite_static.getFilesDir().getAbsolutePath();
            } else {
                str = this.lite_static.getExternalFilesDir(null).getAbsolutePath() + zk2.lite_try;
            }
            lite_for = df2.lite_for(str);
        } catch (Throwable th) {
            th = th;
        }
        if (lite_for == null) {
            yd2.lite_char("log file null");
            return;
        }
        File file2 = new File(str, this.lite_static.getPackageName() + ".zip");
        try {
            bt2.lite_int(file2, lite_for);
            if (file2.exists()) {
                li2.lite_goto((this.lite_switch ? "https://api.xmpush.xiaomi.com/upload/xmsf_log?file=" : "https://api.xmpush.xiaomi.com/upload/app_log?file=") + file2.getName(), lite_do, file2, ot.lite_for);
            } else {
                yd2.lite_char("zip log file failed");
            }
        } catch (Throwable th2) {
            th = th2;
            file = file2;
            yd2.lite_goto(th);
            file2 = file;
            if (file2 == null) {
            } else {
                return;
            }
        }
        if (file2 == null && file2.exists()) {
            file2.delete();
        }
    }
}