Files
rr3-apk/decompiled/sources/com/google/android/gms/internal/ads/zzbsd.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

41 lines
1.5 KiB
Java

package com.google.android.gms.internal.ads;
import android.app.DownloadManager;
import android.content.Context;
import android.content.DialogInterface;
import android.net.Uri;
import android.os.Environment;
import com.vungle.ads.internal.presenter.NativeAdPresenter;
/* loaded from: classes3.dex */
final class zzbsd implements DialogInterface.OnClickListener {
final /* synthetic */ String zza;
final /* synthetic */ String zzb;
final /* synthetic */ zzbsf zzc;
public zzbsd(zzbsf zzbsfVar, String str, String str2) {
this.zza = str;
this.zzb = str2;
this.zzc = zzbsfVar;
}
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
Context context;
context = this.zzc.zzb;
DownloadManager downloadManager = (DownloadManager) context.getSystemService(NativeAdPresenter.DOWNLOAD);
try {
String str = this.zza;
String str2 = this.zzb;
DownloadManager.Request request = new DownloadManager.Request(Uri.parse(str));
request.setDestinationInExternalPublicDir(Environment.DIRECTORY_PICTURES, str2);
com.google.android.gms.ads.internal.zzv.zzq();
request.allowScanningByMediaScanner();
request.setNotificationVisibility(1);
downloadManager.enqueue(request);
} catch (IllegalStateException unused) {
this.zzc.zzh("Could not store picture.");
}
}
}