- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
30 lines
1017 B
Java
30 lines
1017 B
Java
package com.google.android.gms.internal.fido;
|
|
|
|
import android.app.Activity;
|
|
import android.app.PendingIntent;
|
|
import android.content.IntentSender;
|
|
import com.google.android.gms.fido.u2f.U2fPendingIntent;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzt implements U2fPendingIntent {
|
|
private final PendingIntent zza;
|
|
|
|
public zzt(PendingIntent pendingIntent) {
|
|
this.zza = pendingIntent;
|
|
}
|
|
|
|
@Override // com.google.android.gms.fido.u2f.U2fPendingIntent
|
|
public final boolean hasPendingIntent() {
|
|
return this.zza != null;
|
|
}
|
|
|
|
@Override // com.google.android.gms.fido.u2f.U2fPendingIntent
|
|
public final void launchPendingIntent(Activity activity, int i) throws IntentSender.SendIntentException {
|
|
PendingIntent pendingIntent = this.zza;
|
|
if (pendingIntent == null) {
|
|
throw new IllegalStateException("No PendingIntent available");
|
|
}
|
|
activity.startIntentSenderForResult(pendingIntent.getIntentSender(), i, null, 0, 0, 0);
|
|
}
|
|
}
|