- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
54 lines
1.5 KiB
Java
54 lines
1.5 KiB
Java
package com.google.android.gms.cloudmessaging;
|
|
|
|
import android.os.Bundle;
|
|
import android.util.Log;
|
|
import com.google.android.gms.tasks.TaskCompletionSource;
|
|
|
|
/* loaded from: classes2.dex */
|
|
abstract class zzs {
|
|
final int zza;
|
|
final TaskCompletionSource zzb = new TaskCompletionSource();
|
|
final int zzc;
|
|
final Bundle zzd;
|
|
|
|
public zzs(int i, int i2, Bundle bundle) {
|
|
this.zza = i;
|
|
this.zzc = i2;
|
|
this.zzd = bundle;
|
|
}
|
|
|
|
public final String toString() {
|
|
return "Request { what=" + this.zzc + " id=" + this.zza + " oneWay=" + zzb() + "}";
|
|
}
|
|
|
|
public abstract void zza(Bundle bundle);
|
|
|
|
public abstract boolean zzb();
|
|
|
|
public final void zzc(zzt zztVar) {
|
|
if (Log.isLoggable("MessengerIpcClient", 3)) {
|
|
String obj = toString();
|
|
String obj2 = zztVar.toString();
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append("Failing ");
|
|
sb.append(obj);
|
|
sb.append(" with ");
|
|
sb.append(obj2);
|
|
}
|
|
this.zzb.setException(zztVar);
|
|
}
|
|
|
|
public final void zzd(Object obj) {
|
|
if (Log.isLoggable("MessengerIpcClient", 3)) {
|
|
String obj2 = toString();
|
|
String valueOf = String.valueOf(obj);
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append("Finishing ");
|
|
sb.append(obj2);
|
|
sb.append(" with ");
|
|
sb.append(valueOf);
|
|
}
|
|
this.zzb.setResult(obj);
|
|
}
|
|
}
|