- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
33 lines
1.3 KiB
Java
33 lines
1.3 KiB
Java
package com.google.android.gms.common;
|
|
|
|
import android.app.Activity;
|
|
import android.app.PendingIntent;
|
|
import android.content.DialogInterface;
|
|
import androidx.activity.result.ActivityResultLauncher;
|
|
import androidx.activity.result.IntentSenderRequest;
|
|
|
|
/* loaded from: classes2.dex */
|
|
final class zac implements DialogInterface.OnClickListener {
|
|
final /* synthetic */ Activity zaa;
|
|
final /* synthetic */ int zab;
|
|
final /* synthetic */ ActivityResultLauncher zac;
|
|
final /* synthetic */ GoogleApiAvailability zad;
|
|
|
|
public zac(GoogleApiAvailability googleApiAvailability, Activity activity, int i, ActivityResultLauncher activityResultLauncher) {
|
|
this.zad = googleApiAvailability;
|
|
this.zaa = activity;
|
|
this.zab = i;
|
|
this.zac = activityResultLauncher;
|
|
}
|
|
|
|
@Override // android.content.DialogInterface.OnClickListener
|
|
public final void onClick(DialogInterface dialogInterface, int i) {
|
|
dialogInterface.dismiss();
|
|
PendingIntent errorResolutionPendingIntent = this.zad.getErrorResolutionPendingIntent(this.zaa, this.zab, 0);
|
|
if (errorResolutionPendingIntent == null) {
|
|
return;
|
|
}
|
|
this.zac.launch(new IntentSenderRequest.Builder(errorResolutionPendingIntent.getIntentSender()).build());
|
|
}
|
|
}
|