导航菜单

页面标题

页面副标题

SpinDisplay v2.0.2.6 - t2.java 源代码

正在查看: SpinDisplay v2.0.2.6 应用的 t2.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package d.e.a.n;

import com.dmz.f20ad.activity.MainActivity;
import com.dmz.f20ad.model.PackageInfo;
import d.a.a.f;
import java.io.IOException;

public class t2 implements f.k {

    public final PackageInfo f4972a;

    public final MainActivity f4973b;

    public t2(MainActivity mainActivity, PackageInfo packageInfo) {
        this.f4973b = mainActivity;
        this.f4972a = packageInfo;
    }

    public void a(PackageInfo packageInfo, Boolean bool) {
        if (bool.booleanValue()) {
            try {
                this.f4973b.a("https://www.ftlled.com/" + packageInfo.path);
            } catch (IOException e2) {
                e2.printStackTrace();
            }
        }
    }

    @Override
    public void a(d.a.a.f fVar, d.a.a.b bVar) {
        MainActivity mainActivity = this.f4973b;
        g.a.n.a aVar = mainActivity.s;
        g.a.e<Boolean> a2 = new d.k.a.d(mainActivity).a("android.permission.WRITE_EXTERNAL_STORAGE", "android.permission.READ_EXTERNAL_STORAGE");
        final PackageInfo packageInfo = this.f4972a;
        aVar.c(a2.b(new g.a.p.b() {
            @Override
            public final void a(Object obj) {
                t2.this.a(packageInfo, (Boolean) obj);
            }
        }));
    }
}