what-the-bank/sources/com/google/firebase/iid/zzz.java

48 lines
1.6 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.firebase.iid;
import android.content.Intent;
import android.util.Log;
import com.google.android.gms.tasks.Task;
import com.google.android.gms.tasks.Tasks;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
/* loaded from: classes2.dex */
final class zzz implements zzb {
private final ExecutorService zza;
/* JADX INFO: Access modifiers changed from: package-private */
public zzz(ExecutorService executorService) {
this.zza = executorService;
}
@Override // com.google.firebase.iid.zzb
public final Task<Integer> zza(final Intent intent) {
return Tasks.call(this.zza, new Callable(intent) { // from class: com.google.firebase.iid.zzy
private final Intent zza;
@Override // java.util.concurrent.Callable
public final Object call() {
Intent intent2 = this.zza;
String stringExtra = intent2.getStringExtra("CMD");
if (stringExtra != null) {
if (Log.isLoggable("FirebaseInstanceId", 3)) {
intent2.getExtras();
}
if ("RST".equals(stringExtra) || "RST_FULL".equals(stringExtra)) {
FirebaseInstanceId.getInstance().zze();
} else if ("SYNC".equals(stringExtra)) {
FirebaseInstanceId.getInstance().zzg();
}
}
return -1;
}
/* JADX INFO: Access modifiers changed from: package-private */
{
this.zza = intent;
}
});
}
}