52 lines
1.4 KiB
Java
52 lines
1.4 KiB
Java
|
package com.google.firebase.iid;
|
||
|
|
||
|
import android.os.Bundle;
|
||
|
import com.airbnb.deeplinkdispatch.UrlTreeKt;
|
||
|
import com.google.android.gms.tasks.TaskCompletionSource;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
abstract class zzan<T> {
|
||
|
final int zza;
|
||
|
final TaskCompletionSource<T> zzb = new TaskCompletionSource<>();
|
||
|
final int zzc;
|
||
|
final Bundle zzd;
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public zzan(int i, int i2, Bundle bundle) {
|
||
|
this.zza = i;
|
||
|
this.zzc = i2;
|
||
|
this.zzd = bundle;
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public abstract void zza(Bundle bundle);
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public abstract boolean zza();
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public final void zza(T t) {
|
||
|
this.zzb.setResult(t);
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public final void zza(zzam zzamVar) {
|
||
|
this.zzb.setException(zzamVar);
|
||
|
}
|
||
|
|
||
|
public String toString() {
|
||
|
int i = this.zzc;
|
||
|
int i2 = this.zza;
|
||
|
boolean zza = zza();
|
||
|
StringBuilder sb = new StringBuilder(55);
|
||
|
sb.append("Request { what=");
|
||
|
sb.append(i);
|
||
|
sb.append(" id=");
|
||
|
sb.append(i2);
|
||
|
sb.append(" oneWay=");
|
||
|
sb.append(zza);
|
||
|
sb.append(UrlTreeKt.componentParamSuffix);
|
||
|
return sb.toString();
|
||
|
}
|
||
|
}
|