Files
rr3-apk/decompiled/sources/com/google/android/gms/internal/ads/zzelq.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

61 lines
2.4 KiB
Java

package com.google.android.gms.internal.ads;
import android.app.ActivityManager;
import android.content.ComponentName;
import android.content.Context;
import android.os.Bundle;
import android.os.Parcelable;
import java.util.List;
/* loaded from: classes3.dex */
public final class zzelq implements zzetq {
public final Context zza;
public final com.google.android.gms.ads.internal.client.zzs zzb;
public final List zzc;
public zzelq(Context context, com.google.android.gms.ads.internal.client.zzs zzsVar, List list) {
this.zza = context;
this.zzb = zzsVar;
this.zzc = list;
}
@Override // com.google.android.gms.internal.ads.zzetq
public final /* synthetic */ void zza(Object obj) {
}
@Override // com.google.android.gms.internal.ads.zzetq
public final /* bridge */ /* synthetic */ void zzb(Object obj) {
List<ActivityManager.RunningTaskInfo> runningTasks;
ActivityManager.RunningTaskInfo runningTaskInfo;
ComponentName componentName;
ComponentName componentName2;
zzcuv zzcuvVar = (zzcuv) obj;
if (((Boolean) zzbeo.zza.zze()).booleanValue()) {
Bundle bundle = new Bundle();
com.google.android.gms.ads.internal.zzv.zzq();
String str = null;
try {
ActivityManager activityManager = (ActivityManager) this.zza.getSystemService("activity");
if (activityManager != null && (runningTasks = activityManager.getRunningTasks(1)) != null && !runningTasks.isEmpty() && (runningTaskInfo = runningTasks.get(0)) != null) {
componentName = runningTaskInfo.topActivity;
if (componentName != null) {
componentName2 = runningTaskInfo.topActivity;
str = componentName2.getClassName();
}
}
} catch (Exception unused) {
}
bundle.putString("activity", str);
Bundle bundle2 = new Bundle();
bundle2.putInt("width", this.zzb.zze);
bundle2.putInt("height", this.zzb.zzb);
bundle.putBundle("size", bundle2);
if (!this.zzc.isEmpty()) {
List list = this.zzc;
bundle.putParcelableArray("parents", (Parcelable[]) list.toArray(new Parcelable[list.size()]));
}
zzcuvVar.zza.putBundle("view_hierarchy", bundle);
}
}
}