package ῲ.ῲ.K;

import android.content.Context;
import android.location.Location;
import android.location.LocationManager;
import android.util.Log;

/* renamed from: ῲ.ῲ.K.㴪  reason: contains not printable characters */
/* compiled from: TwilightManager */
public class C1971 {

    /* renamed from: 㸾  reason: contains not printable characters */
    public static C1971 f6697;

    /* renamed from: ʬ  reason: contains not printable characters */
    public final C1972 f6698 = new C1972();

    /* renamed from: ῲ  reason: contains not printable characters */
    public final LocationManager f6699;

    /* renamed from: K  reason: contains not printable characters */
    public final Context f6700;

    /* renamed from: ῲ.ῲ.K.㴪$K  reason: contains not printable characters */
    /* compiled from: TwilightManager */
    public static class C1972 {

        /* renamed from: ʬ  reason: contains not printable characters */
        public long f6701;

        /* renamed from: ඓ  reason: contains not printable characters */
        public long f6702;

        /* renamed from: ῲ  reason: contains not printable characters */
        public long f6703;

        /* renamed from: K  reason: contains not printable characters */
        public boolean f6704;

        /* renamed from: 㴹  reason: contains not printable characters */
        public long f6705;

        /* renamed from: 㸾  reason: contains not printable characters */
        public long f6706;
    }

    public C1971(Context context, LocationManager locationManager) {
        this.f6700 = context;
        this.f6699 = locationManager;
    }

    /* renamed from: K  reason: contains not printable characters */
    public final Location m5098(String str) {
        try {
            if (this.f6699.isProviderEnabled(str)) {
                return this.f6699.getLastKnownLocation(str);
            }
            return null;
        } catch (Exception e) {
            Log.d("TwilightManager", "Failed to get last known location", e);
            return null;
        }
    }
}
