package c.i.a.f.d; import android.os.IBinder; import android.os.RemoteException; /* compiled from: com.google.android.gms:play-services-cloud-messaging@@16.0.0 */ public final /* synthetic */ class l implements Runnable { public final g i; public final IBinder j; public l(g gVar, IBinder iBinder) { this.i = gVar; this.j = iBinder; } @Override // java.lang.Runnable public final void run() { g gVar = this.i; IBinder iBinder = this.j; synchronized (gVar) { if (iBinder == null) { gVar.a(0, "Null service connection"); return; } try { gVar.k = new p(iBinder); gVar.i = 2; gVar.n.f1025c.execute(new k(gVar)); } catch (RemoteException e) { gVar.a(0, e.getMessage()); } } } }