package com.unionpay.c; import android.content.Context; import android.location.LocationManager; import android.net.wifi.WifiManager; /* access modifiers changed from: package-private */ public class I extends AbstractC0456m { /* renamed from: a reason: collision with root package name */ private static volatile I f14739a; /* renamed from: b reason: collision with root package name */ private static AbstractC0464v f14740b = new J(); /* renamed from: c reason: collision with root package name */ private final String f14741c = "140.207.168.45"; /* renamed from: d reason: collision with root package name */ private final String f14742d = "140.207.168.45"; /* renamed from: e reason: collision with root package name */ private final String f14743e = "http://140.207.168.45/g/d"; /* renamed from: f reason: collision with root package name */ private G f14744f = new a("140.207.168.45", "140.207.168.45", "http://140.207.168.45/g/d"); /* renamed from: g reason: collision with root package name */ private long f14745g = 0; /* renamed from: h reason: collision with root package name */ private final String f14746h = null; final class a extends G { a(String str, String str2, String str3) { this.f14730a = str; this.f14731b = str2; this.f14732c = str3; this.f14733d = 1; } } static { Context context; C0459p.a().b(a()); a(); Context context2 = C0455l.f14814c; boolean z = false; if (context2 != null) { z = context2.getSharedPreferences("unionpay_CHANNEL_ID", 0).getBoolean("location_called", false); } if (z || (context = C0455l.f14814c) == null) { C0461s.b("registerListenLocationMethodCalled : location method already called"); return; } LocationManager locationManager = (LocationManager) context.getApplicationContext().getSystemService("location"); WifiManager wifiManager = (WifiManager) C0455l.f14814c.getApplicationContext().getSystemService("wifi"); try { D.a(locationManager, f14740b, "mService", "android.location.ILocationManager"); D.a(wifiManager, f14740b, "mService", "android.net.wifi.IWifiManager"); } catch (Throwable th) { C0461s.b(th.getMessage()); } } private I() { } static I a() { if (f14739a == null) { synchronized (I.class) { if (f14739a == null) { f14739a = new I(); } } } return f14739a; } }