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

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


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

import android.content.Context;
import com.ehking.sdk.wepay.ui.activity.AuthenticationPhoneActivity;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;

public class ih2 implements Runnable {
    public final hh2 lite_static;

    public ih2(hh2 hh2Var) {
        this.lite_static = hh2Var;
    }

    @Override
    public void run() {
        File file;
        IOException e;
        Object obj;
        Object obj2;
        Context context;
        ArrayList<File> lite_int;
        Context context2;
        Context context3;
        Context context4;
        Context context5;
        File file2 = null;
        try {
            context = this.lite_static.lite_do;
            lite_int = fh2.lite_do(context).lite_int();
        } catch (IOException e2) {
            file = null;
            e = e2;
        } catch (Throwable unused) {
        }
        if (lite_int != null && lite_int.size() >= 1) {
            context2 = this.lite_static.lite_do;
            HashMap<String, String> lite_do = tf2.lite_do(context2, "C100000");
            int i = 0;
            while (i < lite_int.size()) {
                File file3 = lite_int.get(i);
                context3 = this.lite_static.lite_do;
                String lite_for = fh2.lite_do(context3).lite_for(file3);
                StringBuilder sb = new StringBuilder();
                context4 = this.lite_static.lite_do;
                sb.append(context4.getFilesDir());
                sb.append("/crash");
                sb.append(AuthenticationPhoneActivity.WHITE_SPACE);
                sb.append(file3.getName());
                sb.append(".zip");
                file = new File(sb.toString());
                try {
                    bt2.lite_int(file, file3);
                    if (file.exists()) {
                        li2.lite_goto("https://api.xmpush.xiaomi.com/upload/crash_log?file=" + file.getName(), lite_do, file, ot.lite_for);
                        StringBuilder sb2 = new StringBuilder();
                        context5 = this.lite_static.lite_do;
                        sb2.append(context5.getFilesDir());
                        sb2.append("/crash");
                        file3.renameTo(new File(sb2.toString(), lite_for + ye2.lite_extends + "0"));
                        this.lite_static.lite_else();
                    } else {
                        yd2.lite_char("zip crash file failed");
                    }
                    i++;
                    file2 = file;
                } catch (IOException e3) {
                    e = e3;
                    yd2.lite_goto(e);
                    file2 = file;
                    if (file2 != null) {
                        yd2.lite_char("delete zip crash file failed");
                    }
                    obj = hh2.lite_int;
                    synchronized (obj) {
                    }
                } catch (Throwable unused2) {
                    file2 = file;
                    if (file2 != null) {
                    }
                    obj = hh2.lite_int;
                    synchronized (obj) {
                    }
                }
            }
            if (file2 != null && file2.exists() && !file2.delete()) {
                yd2.lite_char("delete zip crash file failed");
            }
            obj = hh2.lite_int;
            synchronized (obj) {
                obj2 = hh2.lite_int;
                obj2.notifyAll();
            }
            return;
        }
        yd2.lite_char("no crash file to upload");
    }
}