Files
rr3-apk/decompiled-community/sources/com/google/android/gms/internal/ads/zzebv.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -08:00

587 lines
29 KiB
Java

package com.google.android.gms.internal.ads;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.PendingIntent;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.res.Resources;
import android.content.res.XmlResourceParser;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteException;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.os.Build;
import android.os.RemoteException;
import android.text.TextUtils;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.Nullable;
import androidx.annotation.VisibleForTesting;
import androidx.browser.customtabs.CustomTabsCallback;
import androidx.core.app.NotificationManagerCompat;
import com.facebook.share.internal.ShareConstants;
import com.google.android.gms.ads.AdService;
import com.google.android.gms.ads.NotificationHandlerActivity;
import com.google.android.gms.ads.impl.R;
import com.google.android.gms.drive.DriveFile;
import com.google.android.gms.dynamic.IObjectWrapper;
import com.google.android.gms.dynamic.ObjectWrapper;
import java.util.HashMap;
import java.util.Map;
import java.util.Timer;
/* loaded from: classes3.dex */
public final class zzebv extends zzbsw {
@VisibleForTesting
final Map zza = new HashMap();
private final Context zzb;
private final zzdrw zzc;
private final com.google.android.gms.ads.internal.util.client.zzu zzd;
private final zzebk zze;
private String zzf;
private String zzg;
@VisibleForTesting
public zzebv(Context context, zzebk zzebkVar, com.google.android.gms.ads.internal.util.client.zzu zzuVar, zzdrw zzdrwVar) {
this.zzb = context;
this.zzc = zzdrwVar;
this.zzd = zzuVar;
this.zze = zzebkVar;
}
public static void zzc(Context context, zzdrw zzdrwVar, zzebk zzebkVar, String str, String str2) {
zzd(context, zzdrwVar, zzebkVar, str, str2, new HashMap());
}
public static void zzd(Context context, zzdrw zzdrwVar, zzebk zzebkVar, String str, String str2, Map map) {
String str3;
String str4 = true != com.google.android.gms.ads.internal.zzv.zzp().zzA(context) ? "offline" : CustomTabsCallback.ONLINE_EXTRAS_KEY;
if (zzdrwVar != null) {
zzdrv zza = zzdrwVar.zza();
zza.zzb("gqi", str);
zza.zzb("action", str2);
zza.zzb("device_connectivity", str4);
zza.zzb("event_timestamp", String.valueOf(com.google.android.gms.ads.internal.zzv.zzC().currentTimeMillis()));
for (Map.Entry entry : map.entrySet()) {
zza.zzb((String) entry.getKey(), (String) entry.getValue());
}
str3 = zza.zze();
} else {
str3 = "";
}
zzebkVar.zzd(new zzebm(com.google.android.gms.ads.internal.zzv.zzC().currentTimeMillis(), str, str3, 2));
}
@VisibleForTesting
public static final PendingIntent zzr(Context context, String str, String str2, String str3) {
Intent intent = new Intent();
intent.setAction(str);
intent.putExtra("offline_notification_action", str);
intent.putExtra("gws_query_id", str2);
intent.putExtra(ShareConstants.MEDIA_URI, str3);
if (Build.VERSION.SDK_INT < 29 || !str.equals("offline_notification_clicked")) {
intent.setClassName(context, AdService.CLASS_NAME);
return zzfrk.zzb(context, 0, intent, zzfrk.zza | 1073741824, 0);
}
intent.setClassName(context, NotificationHandlerActivity.CLASS_NAME);
return zzfrk.zza(context, 0, intent, 201326592);
}
private final AlertDialog zzs(Activity activity, @Nullable final com.google.android.gms.ads.internal.overlay.zzm zzmVar) {
com.google.android.gms.ads.internal.zzv.zzq();
AlertDialog.Builder onCancelListener = com.google.android.gms.ads.internal.util.zzs.zzL(activity).setOnCancelListener(new DialogInterface.OnCancelListener() { // from class: com.google.android.gms.internal.ads.zzebn
@Override // android.content.DialogInterface.OnCancelListener
public final void onCancel(DialogInterface dialogInterface) {
com.google.android.gms.ads.internal.overlay.zzm zzmVar2 = com.google.android.gms.ads.internal.overlay.zzm.this;
if (zzmVar2 != null) {
zzmVar2.zzb();
}
}
});
XmlResourceParser zzt = zzt(R.layout.offline_ads_dialog);
if (zzt == null) {
onCancelListener.setMessage(zzv(R.string.offline_dialog_text, "Thanks for your interest.\nWe will share more once you're back online."));
return onCancelListener.create();
}
try {
View inflate = activity.getLayoutInflater().inflate(zzt, (ViewGroup) null);
onCancelListener.setView(inflate);
String zzu = zzu();
if (!TextUtils.isEmpty(zzu)) {
TextView textView = (TextView) inflate.findViewById(R.id.offline_dialog_advertiser_name);
textView.setVisibility(0);
textView.setText(zzu);
}
zzebc zzebcVar = (zzebc) this.zza.get(this.zzf);
Drawable zza = zzebcVar != null ? zzebcVar.zza() : null;
if (zza != null) {
((ImageView) inflate.findViewById(R.id.offline_dialog_image)).setImageDrawable(zza);
}
AlertDialog create = onCancelListener.create();
create.getWindow().setBackgroundDrawable(new ColorDrawable(0));
return create;
} catch (Resources.NotFoundException unused) {
onCancelListener.setMessage(zzv(R.string.offline_dialog_text, "Thanks for your interest.\nWe will share more once you're back online."));
return onCancelListener.create();
}
}
@Nullable
private static XmlResourceParser zzt(int i) {
Resources zze = com.google.android.gms.ads.internal.zzv.zzp().zze();
if (zze == null) {
return null;
}
try {
return zze.getLayout(i);
} catch (Resources.NotFoundException unused) {
return null;
}
}
@Nullable
private final String zzu() {
zzebc zzebcVar = (zzebc) this.zza.get(this.zzf);
return zzebcVar == null ? "" : zzebcVar.zzb();
}
private static String zzv(int i, String str) {
Resources zze = com.google.android.gms.ads.internal.zzv.zzp().zze();
if (zze == null) {
return str;
}
try {
return zze.getString(i);
} catch (Resources.NotFoundException unused) {
return str;
}
}
private final void zzw(String str, String str2, Map map) {
zzd(this.zzb, this.zzc, this.zze, str, str2, map);
}
/* JADX WARN: Removed duplicated region for block: B:11:? A[RETURN, SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:8:0x004a */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private final void zzx() {
/*
r6 = this;
com.google.android.gms.ads.internal.zzv.zzq() // Catch: android.os.RemoteException -> L22
android.content.Context r0 = r6.zzb // Catch: android.os.RemoteException -> L22
com.google.android.gms.ads.internal.util.zzbr r0 = com.google.android.gms.ads.internal.util.zzs.zzA(r0) // Catch: android.os.RemoteException -> L22
android.content.Context r1 = r6.zzb // Catch: android.os.RemoteException -> L22
com.google.android.gms.dynamic.IObjectWrapper r1 = com.google.android.gms.dynamic.ObjectWrapper.wrap(r1) // Catch: android.os.RemoteException -> L22
com.google.android.gms.ads.internal.offline.buffering.zza r2 = new com.google.android.gms.ads.internal.offline.buffering.zza // Catch: android.os.RemoteException -> L22
java.lang.String r3 = r6.zzg // Catch: android.os.RemoteException -> L22
java.lang.String r4 = r6.zzf // Catch: android.os.RemoteException -> L22
java.util.Map r5 = r6.zza // Catch: android.os.RemoteException -> L22
java.lang.Object r5 = r5.get(r4) // Catch: android.os.RemoteException -> L22
com.google.android.gms.internal.ads.zzebc r5 = (com.google.android.gms.internal.ads.zzebc) r5 // Catch: android.os.RemoteException -> L22
if (r5 != 0) goto L24
java.lang.String r5 = ""
goto L28
L22:
r0 = move-exception
goto L42
L24:
java.lang.String r5 = r5.zzc() // Catch: android.os.RemoteException -> L22
L28:
r2.<init>(r3, r4, r5) // Catch: android.os.RemoteException -> L22
boolean r1 = r0.zzg(r1, r2) // Catch: android.os.RemoteException -> L22
if (r1 != 0) goto L48
android.content.Context r2 = r6.zzb // Catch: android.os.RemoteException -> L40
com.google.android.gms.dynamic.IObjectWrapper r2 = com.google.android.gms.dynamic.ObjectWrapper.wrap(r2) // Catch: android.os.RemoteException -> L40
java.lang.String r3 = r6.zzg // Catch: android.os.RemoteException -> L40
java.lang.String r4 = r6.zzf // Catch: android.os.RemoteException -> L40
boolean r1 = r0.zzf(r2, r3, r4) // Catch: android.os.RemoteException -> L40
goto L48
L40:
r0 = move-exception
goto L43
L42:
r1 = 0
L43:
java.lang.String r2 = "Failed to schedule offline notification poster."
com.google.android.gms.ads.internal.util.client.zzo.zzh(r2, r0)
L48:
if (r1 != 0) goto L5c
com.google.android.gms.internal.ads.zzebk r0 = r6.zze
java.lang.String r1 = r6.zzf
r0.zzc(r1)
java.lang.String r0 = r6.zzf
java.lang.String r1 = "offline_notification_worker_not_scheduled"
com.google.android.gms.internal.ads.zzfxq r2 = com.google.android.gms.internal.ads.zzfxq.zzd()
r6.zzw(r0, r1, r2)
L5c:
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.ads.zzebv.zzx():void");
}
private final void zzy(final Activity activity, @Nullable final com.google.android.gms.ads.internal.overlay.zzm zzmVar) {
com.google.android.gms.ads.internal.zzv.zzq();
if (NotificationManagerCompat.from(activity).areNotificationsEnabled()) {
zzx();
zzz(activity, zzmVar);
} else {
if (Build.VERSION.SDK_INT >= 33) {
activity.requestPermissions(new String[]{"android.permission.POST_NOTIFICATIONS"}, 12345);
zzw(this.zzf, "asnpdi", zzfxq.zzd());
return;
}
com.google.android.gms.ads.internal.zzv.zzq();
AlertDialog.Builder zzL = com.google.android.gms.ads.internal.util.zzs.zzL(activity);
zzL.setTitle(zzv(R.string.notifications_permission_title, "Allow app to send you notifications?")).setPositiveButton(zzv(R.string.notifications_permission_confirm, "Allow"), new DialogInterface.OnClickListener() { // from class: com.google.android.gms.internal.ads.zzebo
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
zzebv.this.zzk(activity, zzmVar, dialogInterface, i);
}
}).setNegativeButton(zzv(R.string.notifications_permission_decline, "Don't allow"), new DialogInterface.OnClickListener() { // from class: com.google.android.gms.internal.ads.zzebp
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
zzebv.this.zzl(zzmVar, dialogInterface, i);
}
}).setOnCancelListener(new DialogInterface.OnCancelListener() { // from class: com.google.android.gms.internal.ads.zzebq
@Override // android.content.DialogInterface.OnCancelListener
public final void onCancel(DialogInterface dialogInterface) {
zzebv.this.zzm(zzmVar, dialogInterface);
}
});
zzL.create().show();
zzw(this.zzf, "rtsdi", zzfxq.zzd());
}
}
private final void zzz(Activity activity, @Nullable com.google.android.gms.ads.internal.overlay.zzm zzmVar) {
AlertDialog zzs = zzs(activity, zzmVar);
zzs.show();
Timer timer = new Timer();
timer.schedule(new zzebu(this, zzs, timer, zzmVar), 3000L);
}
@Override // com.google.android.gms.internal.ads.zzbsx
public final void zze(Intent intent) {
String stringExtra = intent.getStringExtra("offline_notification_action");
if (stringExtra.equals("offline_notification_clicked") || stringExtra.equals("offline_notification_dismissed")) {
String stringExtra2 = intent.getStringExtra("gws_query_id");
String stringExtra3 = intent.getStringExtra(ShareConstants.MEDIA_URI);
boolean zzA = com.google.android.gms.ads.internal.zzv.zzp().zzA(this.zzb);
HashMap hashMap = new HashMap();
if (stringExtra.equals("offline_notification_clicked")) {
hashMap.put("offline_notification_action", "offline_notification_clicked");
r8 = true == zzA ? (char) 1 : (char) 2;
hashMap.put("obvs", String.valueOf(Build.VERSION.SDK_INT));
hashMap.put("olaih", String.valueOf(stringExtra3.startsWith("http")));
try {
Intent launchIntentForPackage = this.zzb.getPackageManager().getLaunchIntentForPackage(stringExtra3);
if (launchIntentForPackage == null) {
launchIntentForPackage = new Intent("android.intent.action.VIEW");
launchIntentForPackage.setData(Uri.parse(stringExtra3));
}
launchIntentForPackage.addFlags(DriveFile.MODE_READ_ONLY);
this.zzb.startActivity(launchIntentForPackage);
hashMap.put("olaa", "olas");
} catch (ActivityNotFoundException unused) {
hashMap.put("olaa", "olaf");
}
} else {
hashMap.put("offline_notification_action", "offline_notification_dismissed");
}
zzw(stringExtra2, "offline_notification_action", hashMap);
try {
SQLiteDatabase writableDatabase = this.zze.getWritableDatabase();
if (r8 == 1) {
this.zze.zzg(writableDatabase, this.zzd, stringExtra2);
} else {
zzebk.zzi(writableDatabase, stringExtra2);
}
} catch (SQLiteException e) {
com.google.android.gms.ads.internal.util.client.zzo.zzg("Failed to get writable offline buffering database: ".concat(e.toString()));
}
}
}
@Override // com.google.android.gms.internal.ads.zzbsx
public final void zzf(String[] strArr, int[] iArr, IObjectWrapper iObjectWrapper) {
for (int i = 0; i < strArr.length; i++) {
if (strArr[i].equals("android.permission.POST_NOTIFICATIONS")) {
zzebx zzebxVar = (zzebx) ObjectWrapper.unwrap(iObjectWrapper);
Activity zza = zzebxVar.zza();
com.google.android.gms.ads.internal.overlay.zzm zzb = zzebxVar.zzb();
HashMap hashMap = new HashMap();
if (iArr[i] == 0) {
hashMap.put("dialog_action", "confirm");
zzx();
zzz(zza, zzb);
} else {
hashMap.put("dialog_action", "dismiss");
if (zzb != null) {
zzb.zzb();
}
}
zzw(this.zzf, "asnpdc", hashMap);
return;
}
}
}
@Override // com.google.android.gms.internal.ads.zzbsx
public final void zzg(IObjectWrapper iObjectWrapper) {
zzebx zzebxVar = (zzebx) ObjectWrapper.unwrap(iObjectWrapper);
final Activity zza = zzebxVar.zza();
final com.google.android.gms.ads.internal.overlay.zzm zzb = zzebxVar.zzb();
this.zzf = zzebxVar.zzc();
this.zzg = zzebxVar.zzd();
if (((Boolean) com.google.android.gms.ads.internal.client.zzbe.zzc().zza(zzbcl.zzip)).booleanValue()) {
zzy(zza, zzb);
return;
}
zzw(this.zzf, "dialog_impression", zzfxq.zzd());
com.google.android.gms.ads.internal.zzv.zzq();
AlertDialog.Builder zzL = com.google.android.gms.ads.internal.util.zzs.zzL(zza);
zzL.setTitle(zzv(R.string.offline_opt_in_title, "Open ad when you're back online.")).setMessage(zzv(R.string.offline_opt_in_message, "We'll send you a notification with a link to the advertiser site.")).setPositiveButton(zzv(R.string.offline_opt_in_confirm, "OK"), new DialogInterface.OnClickListener() { // from class: com.google.android.gms.internal.ads.zzebr
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
zzebv.this.zzn(zza, zzb, dialogInterface, i);
}
}).setNegativeButton(zzv(R.string.offline_opt_in_decline, "No thanks"), new DialogInterface.OnClickListener() { // from class: com.google.android.gms.internal.ads.zzebs
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
zzebv.this.zzo(zzb, dialogInterface, i);
}
}).setOnCancelListener(new DialogInterface.OnCancelListener() { // from class: com.google.android.gms.internal.ads.zzebt
@Override // android.content.DialogInterface.OnCancelListener
public final void onCancel(DialogInterface dialogInterface) {
zzebv.this.zzp(zzb, dialogInterface);
}
});
zzL.create().show();
}
@Override // com.google.android.gms.internal.ads.zzbsx
public final void zzh() {
final com.google.android.gms.ads.internal.util.client.zzu zzuVar = this.zzd;
this.zze.zze(new zzffr() { // from class: com.google.android.gms.internal.ads.zzebd
@Override // com.google.android.gms.internal.ads.zzffr
public final Object zza(Object obj) {
zzebk.zzb(com.google.android.gms.ads.internal.util.client.zzu.this, (SQLiteDatabase) obj);
return null;
}
});
}
@Override // com.google.android.gms.internal.ads.zzbsx
public final void zzi(IObjectWrapper iObjectWrapper, String str, String str2) {
zzj(iObjectWrapper, new com.google.android.gms.ads.internal.offline.buffering.zza(str, str2, ""));
}
/* JADX WARN: Can't wrap try/catch for region: R(13:0|1|(1:3)(1:28)|4|(9:8|9|(2:21|22)|11|12|13|14|15|16)|27|(0)|11|12|13|14|15|16) */
/* JADX WARN: Code restructure failed: missing block: B:19:0x00d7, code lost:
r8 = move-exception;
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x00d8, code lost:
r9.put("notification_not_shown_reason", r8.getMessage());
r8 = "offline_notification_failed";
*/
/* JADX WARN: Removed duplicated region for block: B:21:0x00a9 A[EXC_TOP_SPLITTER, SYNTHETIC] */
@Override // com.google.android.gms.internal.ads.zzbsx
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void zzj(com.google.android.gms.dynamic.IObjectWrapper r8, com.google.android.gms.ads.internal.offline.buffering.zza r9) {
/*
r7 = this;
java.lang.Object r8 = com.google.android.gms.dynamic.ObjectWrapper.unwrap(r8)
android.content.Context r8 = (android.content.Context) r8
java.lang.String r0 = r9.zza
java.lang.String r1 = r9.zzb
java.lang.String r9 = r9.zzc
java.lang.String r2 = r7.zzu()
com.google.android.gms.ads.internal.util.zzaa r3 = com.google.android.gms.ads.internal.zzv.zzr()
java.lang.String r4 = "offline_notification_channel"
java.lang.String r5 = "AdMob Offline Notifications"
r3.zzh(r8, r4, r5)
java.lang.String r3 = "offline_notification_clicked"
android.app.PendingIntent r3 = zzr(r8, r3, r1, r0)
java.lang.String r5 = "offline_notification_dismissed"
android.app.PendingIntent r0 = zzr(r8, r5, r1, r0)
androidx.core.app.NotificationCompat$Builder r5 = new androidx.core.app.NotificationCompat$Builder
r5.<init>(r8, r4)
boolean r4 = android.text.TextUtils.isEmpty(r2)
if (r4 != 0) goto L46
int r4 = com.google.android.gms.ads.impl.R.string.offline_notification_title_with_advertiser
java.lang.String r6 = "You are back online! Continue learning about %s"
java.lang.String r4 = zzv(r4, r6)
java.lang.Object[] r2 = new java.lang.Object[]{r2}
java.lang.String r2 = java.lang.String.format(r4, r2)
r5.setContentTitle(r2)
goto L51
L46:
int r2 = com.google.android.gms.ads.impl.R.string.offline_notification_title
java.lang.String r4 = "You are back online! Let's pick up where we left off"
java.lang.String r2 = zzv(r2, r4)
r5.setContentTitle(r2)
L51:
r2 = 1
androidx.core.app.NotificationCompat$Builder r2 = r5.setAutoCancel(r2)
androidx.core.app.NotificationCompat$Builder r0 = r2.setDeleteIntent(r0)
androidx.core.app.NotificationCompat$Builder r0 = r0.setContentIntent(r3)
android.content.pm.ApplicationInfo r2 = r8.getApplicationInfo()
int r2 = r2.icon
androidx.core.app.NotificationCompat$Builder r0 = r0.setSmallIcon(r2)
com.google.android.gms.internal.ads.zzbcc r2 = com.google.android.gms.internal.ads.zzbcl.zziq
com.google.android.gms.internal.ads.zzbcj r3 = com.google.android.gms.ads.internal.client.zzbe.zzc()
java.lang.Object r2 = r3.zza(r2)
java.lang.Integer r2 = (java.lang.Integer) r2
int r2 = r2.intValue()
r0.setPriority(r2)
com.google.android.gms.internal.ads.zzbcc r0 = com.google.android.gms.internal.ads.zzbcl.zzis
com.google.android.gms.internal.ads.zzbcj r2 = com.google.android.gms.ads.internal.client.zzbe.zzc()
java.lang.Object r0 = r2.zza(r0)
java.lang.Boolean r0 = (java.lang.Boolean) r0
boolean r0 = r0.booleanValue()
r2 = 0
if (r0 == 0) goto La6
boolean r0 = r9.isEmpty()
if (r0 != 0) goto La6
java.net.URL r0 = new java.net.URL // Catch: java.io.IOException -> La6
r0.<init>(r9) // Catch: java.io.IOException -> La6
java.net.URLConnection r9 = r0.openConnection() // Catch: java.io.IOException -> La6
java.io.InputStream r9 = r9.getInputStream() // Catch: java.io.IOException -> La6
android.graphics.Bitmap r9 = android.graphics.BitmapFactory.decodeStream(r9) // Catch: java.io.IOException -> La6
goto La7
La6:
r9 = r2
La7:
if (r9 == 0) goto Lbd
androidx.core.app.NotificationCompat$Builder r0 = r5.setLargeIcon(r9) // Catch: android.content.res.Resources.NotFoundException -> Lbd
androidx.core.app.NotificationCompat$BigPictureStyle r3 = new androidx.core.app.NotificationCompat$BigPictureStyle // Catch: android.content.res.Resources.NotFoundException -> Lbd
r3.<init>() // Catch: android.content.res.Resources.NotFoundException -> Lbd
androidx.core.app.NotificationCompat$BigPictureStyle r9 = r3.bigPicture(r9) // Catch: android.content.res.Resources.NotFoundException -> Lbd
androidx.core.app.NotificationCompat$BigPictureStyle r9 = r9.bigLargeIcon(r2) // Catch: android.content.res.Resources.NotFoundException -> Lbd
r0.setStyle(r9) // Catch: android.content.res.Resources.NotFoundException -> Lbd
Lbd:
java.lang.String r9 = "notification"
java.lang.Object r8 = r8.getSystemService(r9)
android.app.NotificationManager r8 = (android.app.NotificationManager) r8
java.util.HashMap r9 = new java.util.HashMap
r9.<init>()
android.app.Notification r0 = r5.build() // Catch: java.lang.IllegalArgumentException -> Ld7
r2 = 54321(0xd431, float:7.612E-41)
r8.notify(r1, r2, r0) // Catch: java.lang.IllegalArgumentException -> Ld7
java.lang.String r8 = "offline_notification_impression"
goto Le3
Ld7:
r8 = move-exception
java.lang.String r0 = "notification_not_shown_reason"
java.lang.String r8 = r8.getMessage()
r9.put(r0, r8)
java.lang.String r8 = "offline_notification_failed"
Le3:
r7.zzw(r1, r8, r9)
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.ads.zzebv.zzj(com.google.android.gms.dynamic.IObjectWrapper, com.google.android.gms.ads.internal.offline.buffering.zza):void");
}
public final /* synthetic */ void zzk(Activity activity, com.google.android.gms.ads.internal.overlay.zzm zzmVar, DialogInterface dialogInterface, int i) {
HashMap hashMap = new HashMap();
hashMap.put("dialog_action", "confirm");
zzw(this.zzf, "rtsdc", hashMap);
activity.startActivity(com.google.android.gms.ads.internal.zzv.zzr().zzf(activity));
zzx();
if (zzmVar != null) {
zzmVar.zzb();
}
}
public final /* synthetic */ void zzl(com.google.android.gms.ads.internal.overlay.zzm zzmVar, DialogInterface dialogInterface, int i) {
this.zze.zzc(this.zzf);
HashMap hashMap = new HashMap();
hashMap.put("dialog_action", "dismiss");
zzw(this.zzf, "rtsdc", hashMap);
if (zzmVar != null) {
zzmVar.zzb();
}
}
public final /* synthetic */ void zzm(com.google.android.gms.ads.internal.overlay.zzm zzmVar, DialogInterface dialogInterface) {
this.zze.zzc(this.zzf);
HashMap hashMap = new HashMap();
hashMap.put("dialog_action", "dismiss");
zzw(this.zzf, "rtsdc", hashMap);
if (zzmVar != null) {
zzmVar.zzb();
}
}
public final /* synthetic */ void zzn(Activity activity, com.google.android.gms.ads.internal.overlay.zzm zzmVar, DialogInterface dialogInterface, int i) {
HashMap hashMap = new HashMap();
hashMap.put("dialog_action", "confirm");
zzw(this.zzf, "dialog_click", hashMap);
zzy(activity, zzmVar);
}
public final /* synthetic */ void zzo(com.google.android.gms.ads.internal.overlay.zzm zzmVar, DialogInterface dialogInterface, int i) {
this.zze.zzc(this.zzf);
HashMap hashMap = new HashMap();
hashMap.put("dialog_action", "dismiss");
zzw(this.zzf, "dialog_click", hashMap);
if (zzmVar != null) {
zzmVar.zzb();
}
}
public final /* synthetic */ void zzp(com.google.android.gms.ads.internal.overlay.zzm zzmVar, DialogInterface dialogInterface) {
this.zze.zzc(this.zzf);
HashMap hashMap = new HashMap();
hashMap.put("dialog_action", "dismiss");
zzw(this.zzf, "dialog_click", hashMap);
if (zzmVar != null) {
zzmVar.zzb();
}
}
public final void zzq(String str, zzdif zzdifVar) {
String zzx = zzdifVar.zzx();
String zzB = zzdifVar.zzB();
String str2 = "";
if (TextUtils.isEmpty(zzx)) {
zzx = zzB != null ? zzB : "";
}
zzbfw zzm = zzdifVar.zzm();
if (zzm != null) {
try {
str2 = zzm.zze().toString();
} catch (RemoteException unused) {
}
}
zzbfw zzn = zzdifVar.zzn();
Drawable drawable = null;
if (zzn != null) {
try {
IObjectWrapper zzf = zzn.zzf();
if (zzf != null) {
drawable = (Drawable) ObjectWrapper.unwrap(zzf);
}
} catch (RemoteException unused2) {
}
}
this.zza.put(str, new zzeay(zzx, str2, drawable));
}
}