导航菜单

页面标题

页面副标题

Sandridge Go v2025.2.170190457 - PodcastService.java 源代码

正在查看: Sandridge Go v2025.2.170190457 应用的 PodcastService.java JAVA 源代码文件

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


package com.staffbase.capacitor.plugin.podcast.service;

import E1.q;
import F6.j;
import F6.k;
import L1.p;
import M1.d;
import S6.a;
import X1.h;
import android.app.Application;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import com.microsoft.intune.mam.client.app.Y;
import com.staffbase.capacitor.MainActivity;
import com.staffbase.capacitor.app.App;
import com.staffbase.capacitor.plugin.podcast.service.PodcastService;
import i2.b;
import j2.N4;
import j2.c3;
import j2.o;
import kotlin.jvm.internal.n;
import m5.AbstractC0480a;
import u1.f;
import v1.a;
import x1.D;

public final class PodcastService extends N4 {
    private c3 w;
    private final j x = k.b(new a() {
        @Override
        public final Object invoke() {
            PendingIntent z;
            z = PodcastService.z(PodcastService.this);
            return z;
        }
    });

    public static final f A(PodcastService podcastService) {
        Application application = podcastService.getApplication();
        n.c(application, "null cannot be cast to non-null type com.staffbase.capacitor.app.App");
        return new a.b(((App) application).i()).a();
    }

    public static final L1.k[] B() {
        return new L1.k[]{new W1.f(), new h(), new d(), new Y1.d(), new b()};
    }

    private final void C() {
        c3 c3Var = this.w;
        if (c3Var != null) {
            c3Var.j().a();
            c3Var.s();
            this.w = null;
        }
    }

    private final PendingIntent y() {
        Object value = this.x.getValue();
        n.d(value, "getValue(...)");
        return (PendingIntent) value;
    }

    public static final PendingIntent z(PodcastService podcastService) {
        Intent i = AbstractC0480a.i(podcastService.getPackageManager(), podcastService.getPackageName());
        if (i == null) {
            i = new Intent((Context) podcastService, (Class<?>) MainActivity.class);
        }
        return Y.a(podcastService, 0, i, 201326592);
    }

    public void onCreate() {
        super.onCreate();
        o f = new o.d(this).f();
        n.d(f, "build(...)");
        u(f);
        D e = new D.b(this, new q(new f.a() {
            public final u1.f a() {
                u1.f A;
                A = PodcastService.A(PodcastService.this);
                return A;
            }
        }, new p() {
            public final L1.k[] c() {
                L1.k[] B;
                B = PodcastService.B();
                return B;
            }
        })).e();
        n.d(e, "build(...)");
        this.w = new c3.c(this, e).c(y()).b();
    }

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

    public void onTaskRemoved(Intent intent) {
        C();
        stopSelf();
        super.onTaskRemoved(intent);
    }

    public c3 p(c3.h controllerInfo) {
        n.e(controllerInfo, "controllerInfo");
        return this.w;
    }
}