package o; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; /* loaded from: classes.dex */ public final class glR { private static final tcG a = new tcG() { // from class: o.glR.5 }; public static AbstractC13163fSk Ge_(Context context, IntentFilter intentFilter) { return AbstractC13163fSk.create(new AnonymousClass4(a, new HvP(intentFilter, C0198BcN.d(context)))); } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.glR$4, reason: invalid class name */ /* loaded from: classes.dex */ public final class AnonymousClass4 implements InterfaceC13170fSr { final InterfaceC17111txk c; final tcG e; AnonymousClass4(tcG tcg, InterfaceC17111txk interfaceC17111txk) { this.e = tcg; this.c = interfaceC17111txk; } @Override // o.InterfaceC13170fSr public final void b(InterfaceC13168fSp interfaceC13168fSp) throws Exception { BroadcastReceiver broadcastReceiver = new BroadcastReceiver(this, interfaceC13168fSp) { // from class: o.glR.4.2 private InterfaceC13168fSp b; private AnonymousClass4 c; { this.c = this; this.b = interfaceC13168fSp; } @Override // android.content.BroadcastReceiver public final void onReceive(Context context, Intent intent) { this.b.e(intent); if (isOrderedBroadcast()) { tcG tcg = this.c.e; new Nmq(this); } } }; interfaceC13168fSp.a(new fSR(this, broadcastReceiver) { // from class: o.glR.4.3 private BroadcastReceiver a; private AnonymousClass4 d; { this.d = this; this.a = broadcastReceiver; } @Override // o.fSR public final void c() throws Exception { this.d.c.Gd_(this.a); } }); this.c.Gc_(broadcastReceiver); } } }