package com.google.android.play.core.b;

import android.os.IBinder;
import android.os.IInterface;
import android.os.RemoteException;
import com.bytedance.covode.number.Covode;

public final class i extends c {
    public final /* synthetic */ IBinder LIZ;
    public final /* synthetic */ k LIZIZ;

    static {
        Covode.recordClassIndex(44290);
    }

    public i(k kVar, IBinder iBinder) {
        this.LIZIZ = kVar;
        this.LIZ = iBinder;
    }

    public final void LIZ() {
        l lVar = this.LIZIZ.LIZ;
        lVar.LJIIJ = (IInterface) lVar.LJI.LIZ(this.LIZ);
        l lVar2 = this.LIZIZ.LIZ;
        lVar2.LIZIZ.LIZJ("linkToDeath", new Object[0]);
        try {
            lVar2.LJIIJ.asBinder().linkToDeath(lVar2.LJIIIIZZ, 0);
        } catch (RemoteException unused) {
            lVar2.LIZIZ.LIZ();
        }
        this.LIZIZ.LIZ.LJ = false;
        for (c run : this.LIZIZ.LIZ.LIZLLL) {
            run.run();
        }
        this.LIZIZ.LIZ.LIZLLL.clear();
    }
}
