导航菜单

页面标题

页面副标题

FileWipe Pro v3.0.0 - HmoeActivity.java 源代码

正在查看: FileWipe Pro v3.0.0 应用的 HmoeActivity.java JAVA 源代码文件

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


package com.cnea.sten.wpysee.hmoe;

import android.animation.ObjectAnimator;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.os.Handler;
import android.os.Looper;
import android.os.StatFs;
import android.util.Property;
import android.view.View;
import android.view.animation.LinearInterpolator;
import androidx.appcompat.widget.AppCompatImageView;
import androidx.fragment.app.u0;
import c3.a;
import com.applovin.impl.f8;
import com.cnea.sten.wpysee.scn.ScnActivity;
import com.startapp.sdk.internal.kl;
import e3.d;
import f.j;
import h.g;
import i0.b;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import q4.t;

@Metadata
public final class HmoeActivity extends a {
    public static final int E = 0;
    public ObjectAnimator B;
    public final int C;
    public final g D;

    public HmoeActivity() {
        super(j3.a.f16297i);
        this.C = 1001;
        u0 u0Var = new u0(2);
        com.applovin.impl.sdk.ad.g gVar = new com.applovin.impl.sdk.ad.g(16, this);
        Intrinsics.checkNotNullParameter(u0Var, "contract");
        Intrinsics.checkNotNullParameter(gVar, "callback");
        j jVar = this.f15119i;
        Intrinsics.checkNotNullParameter(u0Var, "contract");
        Intrinsics.checkNotNullParameter(jVar, "registry");
        Intrinsics.checkNotNullParameter(gVar, "callback");
        this.D = jVar.c("activity_rq#" + this.f15118h.getAndIncrement(), this, u0Var, gVar);
    }

    @Override
    public final void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        t.b(a(), new kl(1, this));
        ((d) v()).f14995b.setOnClickListener(new bd.a(7, this));
    }

    @Override
    public final void onRequestPermissionsResult(int i10, String[] strArr, int[] iArr) {
        Intrinsics.checkNotNullParameter(strArr, "permissions");
        Intrinsics.checkNotNullParameter(iArr, "grantResults");
        super.onRequestPermissionsResult(i10, strArr, iArr);
        if (i10 == this.C) {
            for (int i11 : iArr) {
                if (i11 != 0) {
                    int length = strArr.length;
                    for (int i12 = 0; i12 < length; i12++) {
                        if (iArr[i12] != 0 && !b.b(this, strArr[i12])) {
                            Intent intent = new Intent("android.settings.APPLICATION_DETAILS_SETTINGS");
                            intent.setData(Uri.fromParts("package", getPackageName(), null));
                            if (g3.a.f15542a != null) {
                                startActivity(intent);
                                return;
                            } else {
                                Intrinsics.g("mApplication");
                                throw null;
                            }
                        }
                    }
                    return;
                }
            }
            g3.a.a(this, ScnActivity.class, null);
        }
    }

    @Override
    public final void onResume() {
        super.onResume();
        ObjectAnimator ofFloat = ObjectAnimator.ofFloat(((d) v()).f14997d, (Property<AppCompatImageView, Float>) View.ROTATION, 0.0f, 360.0f);
        ofFloat.setDuration(2000L);
        ofFloat.setRepeatCount(-1);
        ofFloat.setInterpolator(new LinearInterpolator());
        ofFloat.start();
        this.B = ofFloat;
        StatFs statFs = new StatFs(Environment.getExternalStorageDirectory().getAbsolutePath());
        long totalBytes = statFs.getTotalBytes();
        double freeBytes = totalBytes - statFs.getFreeBytes();
        double d4 = totalBytes;
        double d10 = freeBytes / d4;
        String s8 = s1.a.s(new Object[]{Double.valueOf(d4 / 1.073741824E9d)}, 1, "%.2f GB", "format(...)");
        new Handler(Looper.getMainLooper()).postDelayed(new f8(10, s1.a.s(new Object[]{Double.valueOf(d10 * 100)}, 1, "%.0f%%", "format(...)"), this, s1.a.s(new Object[]{Double.valueOf(freeBytes / 1.073741824E9d)}, 1, "%.2f GB", "format(...)"), s8), 1000L);
    }
}