APK反编译源代码展示 - 南明离火平台提供

应用版本信息
应用名称:Music Player
版本号:1.0
包名称:music.downloader.mp3player.downloadmusic

MD5 校验值:61e58c10a11e4adec8760ee3854e996a

反编译源代码说明

r.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。


package r3;

import android.app.Application;
import android.content.Context;
import android.content.res.Resources;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Log;
import java.util.ArrayList;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
import q3.x;

public final class r {

    public static volatile r f18255i;

    public final String f18256a;

    public final i3.a f18257b;

    public final ExecutorService f18258c;
    public final m1.l d;
    public int e;

    public boolean f18259f;

    public final String f18260g;

    public volatile InterfaceC2246e f18261h;

    public r(Context context, String str, Bundle bundle) {
        String str2;
        Application application;
        Resources resources;
        int identifier;
        String str3;
        if (str != null) {
            try {
                Class.forName("com.google.firebase.analytics.FirebaseAnalytics");
            } catch (ClassNotFoundException unused) {
                str2 = "FA-Ads";
            }
        }
        str2 = "FA";
        this.f18256a = str2;
        this.f18257b = i3.a.f15932a;
        ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(1, 1, 60L, TimeUnit.SECONDS, new LinkedBlockingQueue(), new x());
        threadPoolExecutor.allowCoreThreadTimeOut(true);
        this.f18258c = Executors.unconfigurableExecutorService(threadPoolExecutor);
        this.d = new m1.l(this, 10);
        new ArrayList();
        try {
            String q6 = com.bumptech.glide.c.q(context);
            resources = context.getResources();
            if (TextUtils.isEmpty(q6)) {
                q6 = com.bumptech.glide.c.q(context);
            }
            identifier = resources.getIdentifier("google_app_id", "string", q6);
        } catch (IllegalStateException unused2) {
        }
        if (identifier != 0) {
            try {
                str3 = resources.getString(identifier);
            } catch (Resources.NotFoundException unused3) {
                str3 = null;
            }
            if (str3 != null) {
                try {
                    Class.forName("com.google.firebase.analytics.FirebaseAnalytics");
                } catch (ClassNotFoundException unused4) {
                    this.f18260g = null;
                    this.f18259f = true;
                    Log.w(this.f18256a, "Disabling data collection. Found google_app_id in strings.xml but Google Analytics for Firebase is missing. Remove this value or add Google Analytics for Firebase to resume data collection.");
                    return;
                }
            }
            if (str != null) {
                try {
                    Class.forName("com.google.firebase.analytics.FirebaseAnalytics");
                } catch (ClassNotFoundException unused5) {
                    this.f18260g = "am";
                }
            }
            this.f18260g = "fa";
            if (str == null) {
                Log.v(this.f18256a, "Deferring to Google Analytics for Firebase for event data collection. https://goo.gl/J1sWQy");
            } else {
                if (str == null) {
                    Log.w(this.f18256a, "Specified origin or custom app id is null. Both parameters will be ignored.");
                }
            }
            b(new C2250i(this, str, context, bundle));
            application = (Application) context.getApplicationContext();
            if (application != null) {
                Log.w(this.f18256a, "Unable to register lifecycle notifications. Application null.");
                return;
            } else {
                application.registerActivityLifecycleCallbacks(new q(this));
                return;
            }
        }
        str3 = null;
        if (str3 != null) {
        }
        if (str != null) {
        }
        this.f18260g = "fa";
        if (str == null) {
        }
        b(new C2250i(this, str, context, bundle));
        application = (Application) context.getApplicationContext();
        if (application != null) {
        }
    }

    public final void a(Exception exc, boolean z6, boolean z7) {
        this.f18259f |= z6;
        String str = this.f18256a;
        if (z6) {
            Log.w(str, "Data collection startup failed. No data will be collected.", exc);
            return;
        }
        if (z7) {
            b(new m(this, exc));
        }
        Log.w(str, "Error with data collection. Data lost.", exc);
    }

    public final void b(o oVar) {
        this.f18258c.execute(oVar);
    }
}