package p010d;

import android.app.Service;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ServiceInfo;
import android.os.Build;
import android.os.IBinder;

/* renamed from: d.a0 */
/* loaded from: classes.dex */
public final class ServiceC0525a0 extends Service {

    /* renamed from: d.a0$a */
    /* loaded from: classes.dex */
    public static class C0526a {
        /* renamed from: a */
        public static int m3557a() {
            return 512;
        }
    }

    /* renamed from: a */
    public static ServiceInfo m3558a(Context context) {
        return context.getPackageManager().getServiceInfo(new ComponentName(context, ServiceC0525a0.class), Build.VERSION.SDK_INT >= 24 ? C0526a.m3557a() | 128 : 640);
    }

    @Override // android.app.Service
    public IBinder onBind(Intent intent) {
        throw new UnsupportedOperationException();
    }
}