导航菜单

页面标题

页面副标题

24Six v66.1.24 - AppMediaService.java 源代码

正在查看: 24Six v66.1.24 应用的 AppMediaService.java JAVA 源代码文件

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


package app.tfs.media;

import Y.L;
import Y.N;
import android.os.Build;
import androidx.media3.common.ForwardingPlayer;
import androidx.media3.common.MediaItem;
import androidx.media3.exoplayer.ExoPlayer;
import androidx.media3.session.MediaController;
import app.tfs.MyApp;
import g.C0458a;
import java.util.HashMap;
import java.util.Map;
import kotlin.jvm.internal.g;
import kotlin.jvm.internal.m;
import p.d;
import p.f;
import p.h;
import p.j;
import r.C0707s;

public final class AppMediaService extends L {

    public static final a f809o = new a(null);

    public static final class a {
        public a(g gVar) {
            this();
        }

        public final HashMap a() {
            HashMap hashMap = new HashMap();
            hashMap.put("Authorization", "Bearer " + C0458a.d.a());
            hashMap.put("Accept", "application/json");
            hashMap.put("os", "Android");
            hashMap.put("os-version", String.valueOf(Build.VERSION.SDK_INT));
            hashMap.put("app-version", "224");
            hashMap.put("X-PLATFORM-KEY", "production-android-44fd2f70");
            return hashMap;
        }

        private a() {
        }
    }

    public AppMediaService() {
        E(true);
        D(new d());
    }

    private final void G() {
        f.a.s(this);
    }

    private final void H() {
        new j(this).n();
    }

    public void C(MediaController mediaController, N n2, float f2) {
        Integer num;
        super.C(mediaController, n2, f2);
        if (n2 != null) {
            MediaItem e = n2.e();
            if (e != null && (num = e.mediaMetadata.mediaType) != null && num != null && num.intValue() == 3) {
                C0458a.f998n.k(Float.valueOf(f2));
            } else if (e != null) {
                Integer num2 = e.mediaMetadata.mediaType;
            }
        }
    }

    public final void F() {
        p.a s2 = s();
        p.a aVar = s2 instanceof p.a ? s2 : null;
        if (aVar != null) {
            aVar.l();
        }
    }

    protected ForwardingPlayer m(ExoPlayer exoPlayer) {
        m.e(exoPlayer, "wrappedExoPlayer");
        p.a aVar = new p.a(this, exoPlayer);
        MyApp.f382m.a(this).d = aVar;
        if (Build.VERSION.SDK_INT >= 34) {
            aVar.addListener(new h(aVar, false, 2, null));
        }
        return aVar;
    }

    protected Map n() {
        return f809o.a();
    }

    public Class o() {
        return C0707s.D();
    }

    public void onCreate() {
        super.onCreate();
        H();
        G();
    }

    public Class p() {
        return AppMediaService.class;
    }
}