Files
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

39 lines
1.1 KiB
Java

package com.mbridge.msdk.mbnative.controller;
import android.R;
import android.app.Activity;
import android.content.Context;
import android.view.View;
import androidx.core.view.ViewCompat;
/* loaded from: classes4.dex */
public final class f {
private static View a(View view) {
if (view == null) {
return null;
}
try {
ViewCompat.isAttachedToWindow(view);
} catch (Throwable unused) {
}
try {
View rootView = view.getRootView();
if (rootView == null) {
return null;
}
View findViewById = rootView.findViewById(R.id.content);
return findViewById != null ? findViewById : rootView;
} catch (Throwable unused2) {
return null;
}
}
public static View a(Context context, View view) {
View view2 = null;
if (context != null && (context instanceof Activity)) {
view2 = ((Activity) context).getWindow().getDecorView().findViewById(R.id.content);
}
return view2 != null ? view2 : a(view);
}
}