- 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
96 lines
3.2 KiB
Java
96 lines
3.2 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import android.app.Activity;
|
|
import android.content.Context;
|
|
import android.widget.PopupWindow;
|
|
import androidx.annotation.Nullable;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzdpa {
|
|
|
|
@Nullable
|
|
private Context zza;
|
|
|
|
@Nullable
|
|
private PopupWindow zzb;
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:18:0x005d */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final void zza(android.content.Context r7, android.view.View r8) {
|
|
/*
|
|
r6 = this;
|
|
boolean r0 = com.google.android.gms.common.util.PlatformVersion.isAtLeastKitKat()
|
|
if (r0 == 0) goto L60
|
|
boolean r0 = com.google.android.gms.common.util.PlatformVersion.isAtLeastLollipop()
|
|
if (r0 == 0) goto Ld
|
|
goto L60
|
|
Ld:
|
|
boolean r0 = r7 instanceof android.app.Activity
|
|
r1 = 0
|
|
if (r0 == 0) goto L1a
|
|
r0 = r7
|
|
android.app.Activity r0 = (android.app.Activity) r0
|
|
android.view.Window r0 = r0.getWindow()
|
|
goto L1b
|
|
L1a:
|
|
r0 = r1
|
|
L1b:
|
|
if (r0 == 0) goto L23
|
|
android.view.View r2 = r0.getDecorView()
|
|
if (r2 != 0) goto L25
|
|
L23:
|
|
r8 = r1
|
|
goto L59
|
|
L25:
|
|
r2 = r7
|
|
android.app.Activity r2 = (android.app.Activity) r2
|
|
boolean r2 = r2.isDestroyed()
|
|
if (r2 == 0) goto L2f
|
|
goto L23
|
|
L2f:
|
|
android.widget.FrameLayout r2 = new android.widget.FrameLayout
|
|
r2.<init>(r7)
|
|
android.view.ViewGroup$LayoutParams r3 = new android.view.ViewGroup$LayoutParams
|
|
r4 = -1
|
|
r3.<init>(r4, r4)
|
|
r2.setLayoutParams(r3)
|
|
r2.addView(r8, r4, r4)
|
|
android.widget.PopupWindow r8 = new android.widget.PopupWindow
|
|
r3 = 1
|
|
r5 = 0
|
|
r8.<init>(r2, r3, r3, r5)
|
|
r8.setOutsideTouchable(r3)
|
|
r8.setClippingEnabled(r5)
|
|
java.lang.String r2 = "Displaying the 1x1 popup off the screen."
|
|
com.google.android.gms.ads.internal.util.client.zzo.zze(r2)
|
|
android.view.View r0 = r0.getDecorView() // Catch: java.lang.Exception -> L23
|
|
r8.showAtLocation(r0, r5, r4, r4) // Catch: java.lang.Exception -> L23
|
|
L59:
|
|
r6.zzb = r8
|
|
if (r8 != 0) goto L5e
|
|
r7 = r1
|
|
L5e:
|
|
r6.zza = r7
|
|
L60:
|
|
return
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.ads.zzdpa.zza(android.content.Context, android.view.View):void");
|
|
}
|
|
|
|
public final void zzb() {
|
|
PopupWindow popupWindow;
|
|
Context context = this.zza;
|
|
if (context == null || this.zzb == null) {
|
|
return;
|
|
}
|
|
if ((!(context instanceof Activity) || !((Activity) context).isDestroyed()) && (popupWindow = this.zzb) != null && popupWindow.isShowing()) {
|
|
this.zzb.dismiss();
|
|
}
|
|
this.zza = null;
|
|
this.zzb = null;
|
|
}
|
|
}
|