导航菜单

页面标题

页面副标题

MedEd v5.3.6 - DRMVideoDownloadService.java 源代码

正在查看: MedEd v5.3.6 应用的 DRMVideoDownloadService.java JAVA 源代码文件

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


package com.penpencil.player.manager.offline;

import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import defpackage.ar2;
import java.io.File;
import java.net.CookieHandler;
import java.net.CookieManager;
import java.net.CookiePolicy;
import java.util.concurrent.Executors;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.jvm.internal.Intrinsics;

@Metadata
public final class DRMVideoDownloadService extends xd0 {
    public static md0 n;
    public static a o;
    public final Xc1 k;
    public final Xc1 l;
    public static final a m = new a();
    public static final a p = new a();
    public static final Q40 q = new Q40();

    public static final class a {
        public static PendingIntent a(Context context, Class cls) {
            Intrinsics.checkNotNullParameter(context, "context");
            Intrinsics.checkNotNullParameter(cls, "className");
            Intent intent = new Intent(context, (Class<?>) cls);
            intent.setFlags(536870912);
            return PendingIntent.getActivity(context, 0, intent, 67108864);
        }

        public final md0 b(Context context) {
            Intrinsics.checkNotNullParameter(context, "context");
            md0 md0Var = DRMVideoDownloadService.n;
            if (md0Var != null) {
                return md0Var;
            }
            c(context);
            return DRMVideoDownloadService.n;
        }

        public final void c(Context context) {
            Intrinsics.checkNotNullParameter(context, "context");
            if (DRMVideoDownloadService.n == null) {
                synchronized (this) {
                    try {
                        if (DRMVideoDownloadService.n == null) {
                            CookieManager cookieManager = new CookieManager();
                            cookieManager.setCookiePolicy(CookiePolicy.ACCEPT_ORIGINAL_SERVER);
                            CookieHandler.setDefault(cookieManager);
                            CU2 cu2 = new CU2(context.getApplicationContext(), "exoplayer_internal.db", null, 1);
                            VO2 vo2 = new VO2(new File(context.getFilesDir().getAbsolutePath() + "/PhysicsWallah/Videos"), new zW1(), cu2);
                            DRMVideoDownloadService.m.getClass();
                            a aVar = DRMVideoDownloadService.p;
                            a aVar2 = new a(context, aVar);
                            a aVar3 = new a();
                            aVar3.a = vo2;
                            aVar3.e = aVar2;
                            aVar3.d = true;
                            aVar3.f = 2;
                            DRMVideoDownloadService.o = aVar3;
                            DRMVideoDownloadService.n = new md0(context, cu2, vo2, new a(aVar, DRMVideoDownloadService.q), Executors.newFixedThreadPool(6));
                        }
                        Unit unit = Unit.a;
                    } catch (Throwable th) {
                        throw th;
                    }
                }
            }
        }
    }

    public DRMVideoDownloadService() {
        super(ar2.exo_download_notification_channel_name);
        this.k = le1.b(new ol2(this, 12));
        this.l = le1.b(new IX1(this, 11));
    }

    public final c d() {
        return (c) this.k.getValue();
    }

    public final void onCreate() {
        super.onCreate();
    }

    public final void onDestroy() {
        super.onDestroy();
    }
}