MD5 校验值:6bdafb1d58f3fe7a55bbf3e7446795c3
h3.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。
package r3; import android.content.ContentProvider; import android.content.ContentValues; import android.content.Context; import android.content.pm.PackageManager; import android.content.pm.ProviderInfo; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.text.TextUtils; import com.google.android.gms.internal.ads.h70; public final class h3 extends ContentProvider { @Override public final void attachInfo(Context context, ProviderInfo providerInfo) { Bundle bundle = null; try { bundle = u4.e.a(context).c(context.getPackageName(), 128).metaData; } catch (PackageManager.NameNotFoundException e10) { v3.n.e("Failed to load metadata: Package name not found.", e10); } catch (NullPointerException e11) { v3.n.e("Failed to load metadata: Null pointer exception.", e11); } h70 a10 = h70.a(); if (bundle == null) { v3.n.d("Metadata was null."); } else { try { String str = (String) bundle.get("com.google.android.gms.ads.APPLICATION_ID"); try { Boolean bool = (Boolean) bundle.get("com.google.android.gms.ads.DELAY_APP_MEASUREMENT_INIT"); try { String str2 = (String) bundle.get("com.google.android.gms.ads.INTEGRATION_MANAGER"); if (str != null) { if (!str.matches("^ca-app-pub-[0-9]{16}~[0-9]{10}$")) { throw new IllegalStateException("\n\n******************************************************************************\n* Invalid application ID. Follow instructions here: *\n* https://googlemobileadssdk.page.link/admob-android-update-manifest *\n* to find your app ID. *\n* Google Ad Manager publishers should follow instructions here: *\n* https://googlemobileadssdk.page.link/ad-manager-android-update-manifest. *\n******************************************************************************\n\n"); } v3.n.b("Publisher provided Google AdMob App ID in manifest: ".concat(str)); if (bool == null || !bool.booleanValue()) { a10.b(context, str); } } else { if (TextUtils.isEmpty(str2)) { throw new IllegalStateException("\n\n******************************************************************************\n* Missing application ID. AdMob publishers should follow the instructions *\n* here: *\n* https://googlemobileadssdk.page.link/admob-android-update-manifest *\n* to add a valid App ID inside the AndroidManifest. *\n* Google Ad Manager publishers should follow instructions here: *\n* https://googlemobileadssdk.page.link/ad-manager-android-update-manifest. *\n******************************************************************************\n\n"); } v3.n.b("The Google Mobile Ads SDK is integrated by ".concat(String.valueOf(str2))); } } catch (ClassCastException e12) { throw new IllegalStateException("The com.google.android.gms.ads.INTEGRATION_MANAGER metadata must have a String value.", e12); } } catch (ClassCastException e13) { throw new IllegalStateException("The com.google.android.gms.ads.DELAY_APP_MEASUREMENT_INIT metadata must have a boolean value.", e13); } } catch (ClassCastException e14) { throw new IllegalStateException("The com.google.android.gms.ads.APPLICATION_ID metadata must have a String value.", e14); } } if (bundle != null) { boolean z9 = bundle.getBoolean("com.google.android.gms.ads.flag.OPTIMIZE_INITIALIZATION", false); boolean z10 = bundle.getBoolean("com.google.android.gms.ads.flag.OPTIMIZE_AD_LOADING", false); if (z9) { v3.n.b("com.google.android.gms.ads.flag.OPTIMIZE_INITIALIZATION is enabled"); } if (z10) { v3.n.b("com.google.android.gms.ads.flag.OPTIMIZE_AD_LOADING is enabled"); } } super.attachInfo(context, providerInfo); } @Override public final int delete(Uri uri, String str, String[] strArr) { return 0; } @Override public final String getType(Uri uri) { return null; } @Override public final Uri insert(Uri uri, ContentValues contentValues) { return null; } @Override public final boolean onCreate() { return false; } @Override public final Cursor query(Uri uri, String[] strArr, String str, String[] strArr2, String str2) { return null; } @Override public final int update(Uri uri, ContentValues contentValues, String str, String[] strArr) { return 0; } }