导航菜单

页面标题

页面副标题

Fancy Optimizer v4.6.3 - SuggestIgnoreBatteryActivity.java 源代码

正在查看: Fancy Optimizer v4.6.3 应用的 SuggestIgnoreBatteryActivity.java JAVA 源代码文件

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


package com.fancyclean.boost.common.ui.activity;

import android.app.Dialog;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.facebook.login.d;
import com.thinkyeah.common.ui.dialog.c;
import java.util.HashMap;
import wk.b;

public class SuggestIgnoreBatteryActivity extends b {

    public static class a extends c<SuggestIgnoreBatteryActivity> {
        public static final int c = 0;

        @NonNull
        public final Dialog onCreateDialog(@Nullable Bundle bundle) {
            View inflate = View.inflate(getContext(), 2131558604, null);
            inflate.findViewById(2131362005).setOnClickListener(new d(this, 11));
            inflate.findViewById(2131362418).setOnClickListener(new t4.a(this, 7));
            c.a aVar = new c.a(getContext());
            aVar.y = 8;
            aVar.x = inflate;
            return aVar.a();
        }
    }

    public final void X2() {
        try {
            a aVar = new a();
            aVar.setCancelable(false);
            aVar.show(getSupportFragmentManager(), "SuggestIgnoreBatteryOptimizationDialogFragment");
        } catch (IllegalStateException unused) {
        }
    }

    public final void onActivityResult(int i, int i10, @Nullable Intent intent) {
        if (i != 257) {
            super/*androidx.fragment.app.FragmentActivity*/.onActivityResult(i, i10, intent);
            return;
        }
        boolean c = ek.d.c(this);
        tk.b a10 = tk.b.a();
        HashMap hashMap = new HashMap();
        hashMap.put("result", c ? "success" : "failed");
        hashMap.put("from", "TaskResult");
        a10.b("PER_IgnoreBattery", hashMap);
        finish();
    }
}