package hg;

import android.content.Context;
import android.net.Uri;
import androidx.slice.Slice;
import k5.a;
import kotlin.jvm.internal.t;
import y7.f;

/* loaded from: classes4.dex */
public final class d implements a {

    /* renamed from: a, reason: collision with root package name */
    private final Context f21664a;

    /* renamed from: b, reason: collision with root package name */
    private final Uri f21665b;

    public d(Context context, Uri sliceUri) {
        t.g(context, "context");
        t.g(sliceUri, "sliceUri");
        this.f21664a = context;
        this.f21665b = sliceUri;
        Context applicationContext = context.getApplicationContext();
        t.f(applicationContext, "getApplicationContext(...)");
        f.a(this, applicationContext);
    }

    @Override // hg.a
    public Slice a() {
        k5.a aVar = new k5.a(this.f21664a.getApplicationContext(), this.f21665b, -1L);
        a.b u10 = new a.b(this.f21665b).u("Action not supported");
        t.f(u10, "setTitle(...)");
        aVar.g(u10);
        aVar.k(true);
        Slice h10 = aVar.h();
        t.f(h10, "build(...)");
        return h10;
    }
}
