导航菜单

页面标题

页面副标题

JetMelo v1.0 - MainActivity.java 源代码

正在查看: JetMelo v1.0 应用的 MainActivity.java JAVA 源代码文件

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


package com.rcmiku.music;

import A0.H0;
import A0.Q0;
import A2.Y;
import P.C0642d;
import P.C0649g0;
import P.T;
import P3.a;
import P3.f;
import Q3.d;
import S3.b;
import T4.e;
import T4.j;
import T4.v;
import android.R;
import android.content.res.Resources;
import android.os.Build;
import android.os.Bundle;
import android.view.View;
import android.view.ViewGroup;
import android.view.Window;
import androidx.lifecycle.H;
import androidx.lifecycle.P;
import d.AbstractActivityC0973l;
import d.AbstractC0975n;
import d.C0960B;
import d.C0961C;
import d.C0976o;
import d.C0977p;
import d.C0978q;
import d.C0979r;
import e.AbstractC1020b;
import f.C1091a;
import o3.c;
import o3.k;
import o3.p;
import t3.h;

public final class MainActivity extends AbstractActivityC0973l implements b {

    public volatile Q3.b f12649A;

    public final Object f12650B = new Object();

    public boolean f12651C = false;

    public h f12652D;

    public final C0649g0 f12653E;

    public Q0 f12654z;

    public MainActivity() {
        k kVar = new k(this);
        C1091a c1091a = this.f12688h;
        c1091a.getClass();
        AbstractActivityC0973l abstractActivityC0973l = c1091a.f13000b;
        if (abstractActivityC0973l != null) {
            kVar.a(abstractActivityC0973l);
        }
        c1091a.f12999a.add(kVar);
        this.f12653E = C0642d.L(null, T.f9002l);
    }

    @Override
    public final Object c() {
        return l().c();
    }

    @Override
    public final P d() {
        P p6 = (P) this.f12703w.getValue();
        c cVar = (c) ((a) r0.c.w(this, a.class));
        T3.b a3 = cVar.a();
        S1.k kVar = new S1.k(12, cVar.f16211a, cVar.f16212b);
        p6.getClass();
        return new f(a3, p6, kVar);
    }

    public final Q3.b l() {
        if (this.f12649A == null) {
            synchronized (this.f12650B) {
                try {
                    if (this.f12649A == null) {
                        this.f12649A = new Q3.b(this);
                    }
                } finally {
                }
            }
        }
        return this.f12649A;
    }

    public final void m(Bundle bundle) {
        super.onCreate(bundle);
        if (getApplication() instanceof b) {
            Q3.b bVar = (Q3.b) l().f9634j;
            AbstractActivityC0973l abstractActivityC0973l = bVar.f9633i;
            Y y2 = new Y(abstractActivityC0973l.f(), new P3.c(1, (AbstractActivityC0973l) bVar.f9634j), abstractActivityC0973l.e());
            e a3 = v.a(d.class);
            String b2 = a3.b();
            if (b2 == null) {
                throw new IllegalArgumentException("Local and anonymous classes can not be ViewModels");
            }
            Q0 q02 = ((d) y2.p(a3, "androidx.lifecycle.ViewModelProvider.DefaultKey:".concat(b2))).f9637c;
            this.f12654z = q02;
            if (((z1.b) q02.f195a) == null) {
                q02.f195a = e();
            }
        }
    }

    @Override
    public final void onCreate(Bundle bundle) {
        int i6 = 1;
        m(bundle);
        int i7 = AbstractC0975n.f12708a;
        C0960B c0960b = C0960B.f12661h;
        C0961C c0961c = new C0961C(0, 0, c0960b);
        C0961C c0961c2 = new C0961C(AbstractC0975n.f12708a, AbstractC0975n.f12709b, c0960b);
        View decorView = getWindow().getDecorView();
        j.e(decorView, "window.decorView");
        Resources resources = decorView.getResources();
        j.e(resources, "view.resources");
        boolean booleanValue = ((Boolean) c0960b.b(resources)).booleanValue();
        Resources resources2 = decorView.getResources();
        j.e(resources2, "view.resources");
        boolean booleanValue2 = ((Boolean) c0960b.b(resources2)).booleanValue();
        int i8 = Build.VERSION.SDK_INT;
        C0976o c0979r = i8 >= 30 ? new C0979r() : i8 >= 29 ? new C0978q() : i8 >= 28 ? new C0977p() : new C0976o();
        Window window = getWindow();
        j.e(window, "window");
        c0979r.b(c0961c, c0961c2, window, decorView, booleanValue, booleanValue2);
        Window window2 = getWindow();
        j.e(window2, "window");
        c0979r.a(window2);
        if (i8 >= 29) {
            getWindow().setNavigationBarContrastEnforced(false);
        }
        this.f12652D = h.f17786a;
        X.a aVar = new X.a(1870876487, new p(this, i6), true);
        ViewGroup.LayoutParams layoutParams = AbstractC1020b.f12835a;
        View childAt = ((ViewGroup) getWindow().getDecorView().findViewById(R.id.content)).getChildAt(0);
        H0 h02 = childAt instanceof H0 ? (H0) childAt : null;
        if (h02 != null) {
            h02.setParentCompositionContext(null);
            h02.setContent(aVar);
            return;
        }
        H0 h03 = new H0(this);
        h03.setParentCompositionContext(null);
        h03.setContent(aVar);
        View decorView2 = getWindow().getDecorView();
        if (H.f(decorView2) == null) {
            H.j(decorView2, this);
        }
        if (H.g(decorView2) == null) {
            decorView2.setTag(2131165282, this);
        }
        if (V4.a.Y(decorView2) == null) {
            decorView2.setTag(2131165281, this);
        }
        setContentView(h03, AbstractC1020b.f12835a);
    }

    @Override
    public final void onDestroy() {
        super.onDestroy();
        Q0 q02 = this.f12654z;
        if (q02 != null) {
            q02.f195a = null;
        }
    }
}