package com.google.android.gms.maps.internal; import android.os.Parcel; import android.os.RemoteException; /* loaded from: classes2.dex */ public abstract class zzd extends com.google.android.gms.internal.maps.zzb implements zzc { public zzd() { super("com.google.android.gms.maps.internal.ICancelableCallback"); } @Override // com.google.android.gms.internal.maps.zzb public final boolean dispatchTransaction(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException { if (i == 1) { onFinish(); } else { if (i != 2) { return false; } onCancel(); } parcel2.writeNoException(); return true; } }