PicWish v1.6.8版本的 MD5 值为:7e8bab240f03cf6dad8952f8374c4ed1

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


package se;

import android.content.Context;
import java.io.File;
import java.util.ArrayList;
import l6.w;
import li.l;
@gi.e(c = "com.wangxutech.picwish.module.cutout.ui.id.vm.EditIDPhotoViewModel$uploadErrorLog$1", f = "EditIDPhotoViewModel.kt", l = {}, m = "invokeSuspend")
public final class h extends gi.i implements l<ei.d<? super Boolean>, Object> {
    public final String f12858l;
    public final Context f12859m;

    public h(String str, Context context, ei.d<? super h> dVar) {
        super(1, dVar);
        this.f12858l = str;
        this.f12859m = context;
    }

    @Override
    public final ei.d<zh.l> create(ei.d<?> dVar) {
        return new h(this.f12858l, this.f12859m, dVar);
    }

    @Override
    public final Object invoke(ei.d<? super Boolean> dVar) {
        return ((h) create(dVar)).invokeSuspend(zh.l.f15024a);
    }

    @Override
    public final Object invokeSuspend(Object obj) {
        w.W(obj);
        String str = "PicWish证件照失败上传日志。 \n\n" + this.f12858l;
        ArrayList arrayList = new ArrayList();
        Context context = this.f12859m;
        j9.b.i(context, "context");
        File externalFilesDir = context.getExternalFilesDir(null);
        String absolutePath = externalFilesDir != null ? externalFilesDir.getAbsolutePath() : null;
        if (absolutePath == null) {
            absolutePath = context.getFilesDir().getAbsolutePath();
            j9.b.h(absolutePath, "context.filesDir.absolutePath");
        }
        File file = new File(android.support.v4.media.b.b(androidx.core.graphics.a.b(absolutePath), File.separator, "Logs"));
        if (file.exists()) {
            String absolutePath2 = file.getAbsolutePath();
            j9.b.h(absolutePath2, "logDir.absolutePath");
            arrayList.add(absolutePath2);
        }
        return Boolean.valueOf(new o1.c(this.f12859m).b("feedback@picwich.com", cd.e.a(str), arrayList, null));
    }
}