导航菜单

页面标题

页面副标题

Perplexity v2.48.1 - AssistantSessionService.java 源代码

正在查看: Perplexity v2.48.1 应用的 AssistantSessionService.java JAVA 源代码文件

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


package ai.perplexity.app.android.assistant;

import Jk.h;
import Lk.c;
import android.os.Build;
import android.os.Bundle;
import android.service.voice.VoiceInteractionSession;
import android.service.voice.VoiceInteractionSessionService;
import b.C1441d;
import b.l;
import c.m;
import c.n;
import c.o;
import d.C1804n;
import d.C1810q;
import gm.i;
import i.C2555C;
import i.V;
import i.Y;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import l0.C3198q0;
import t.C4067d;

@Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0007\u0018\u0000B\u0007¢\u0006\u0004\b\u0001\u0010\u0002¨\u0006\u0003"}, d2 = {"Lai/perplexity/app/android/assistant/AssistantSessionService;", "<init>", "()V", "assistant_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
public final class AssistantSessionService extends VoiceInteractionSessionService implements c {

    public V f19489X;

    public C3198q0 f19490Y;

    public C1804n f19491Z;

    public Y f19492r0;

    public C1810q f19493s0;

    public C4067d f19494t0;

    public volatile h f19495w;

    public final Object f19496x = new Object();

    public boolean f19497y = false;

    public C2555C f19498z;

    public final Object a() {
        if (this.f19495w == null) {
            synchronized (this.f19496x) {
                try {
                    if (this.f19495w == null) {
                        this.f19495w = new h(this);
                    }
                } finally {
                }
            }
        }
        return this.f19495w.a();
    }

    @Override
    public final void onCreate() {
        if (!this.f19497y) {
            this.f19497y = true;
            l lVar = ((C1441d) ((n) a())).f21684a;
            this.f19498z = (C2555C) lVar.f21839d3.get();
            this.f19489X = (V) lVar.f21695A2.get();
            this.f19490Y = (C3198q0) lVar.f21819a0.get();
            this.f19491Z = (C1804n) lVar.f21893o2.get();
            this.f19492r0 = (Y) lVar.f21912s2.get();
            this.f19493s0 = (C1810q) lVar.f21907r1.get();
            this.f19494t0 = (C4067d) lVar.f21803X.get();
        }
        super.onCreate();
    }

    @Override
    public final VoiceInteractionSession onNewSession(Bundle bundle) {
        if (!i.J(Build.MANUFACTURER, "xiaomi", true)) {
            C2555C c2555c = this.f19498z;
            if (c2555c != null) {
                return new o(this, c2555c);
            }
            Intrinsics.n("assistantViewModel");
            throw null;
        }
        C2555C c2555c2 = this.f19498z;
        if (c2555c2 == null) {
            Intrinsics.n("assistantViewModel");
            throw null;
        }
        V v2 = this.f19489X;
        if (v2 == null) {
            Intrinsics.n("contacts");
            throw null;
        }
        C3198q0 c3198q0 = this.f19490Y;
        if (c3198q0 == null) {
            Intrinsics.n("userLocationRefresher");
            throw null;
        }
        C1804n c1804n = this.f19491Z;
        if (c1804n == null) {
            Intrinsics.n("appsRetriever");
            throw null;
        }
        Y y8 = this.f19492r0;
        if (y8 == null) {
            Intrinsics.n("prefetchedUploadData");
            throw null;
        }
        C1810q c1810q = this.f19493s0;
        if (c1810q == null) {
            Intrinsics.n("assistantStrings");
            throw null;
        }
        C4067d c4067d = this.f19494t0;
        if (c4067d != null) {
            return new m(this, c2555c2, v2, c3198q0, c1804n, y8, c1810q, c4067d);
        }
        Intrinsics.n("analytics");
        throw null;
    }
}