MD5 校验值:8005b9444b02324a81f85f1ef7e26f28
w.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。
package b6; import android.app.AppOpsManager; import android.content.ContentResolver; import android.content.Context; import android.database.Cursor; import android.graphics.drawable.Drawable; import android.net.Uri; import android.os.Binder; import android.os.Build; import android.os.Process; import android.view.View; import android.view.ViewParent; import com.github.dhaval2404.imagepicker.ImagePickerActivity; import com.yalantis.ucrop.view.CropImageView; import g7.f; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.List; import java.util.TreeMap; import java.util.WeakHashMap; import java.util.logging.Level; import java.util.logging.Logger; import o0.a0; import v5.ba; import v5.x8; import v5.y8; public final class w implements k2, d5.n, oa.l, g6.f { public static final w f2452s = new w(); public static final n4.e f2453t = new n4.e(4, "CONDITION_FALSE"); public static final x8 f2454u = new x8(); public static final y8 v = new y8(); public static int d(Context context, String str) { String str2; boolean z10; int i10; int myPid = Process.myPid(); int myUid = Process.myUid(); String packageName = context.getPackageName(); if (context.checkPermission(str, myPid, myUid) != -1) { int i11 = Build.VERSION.SDK_INT; if (i11 >= 23) { str2 = b0.m.d(str); } else { str2 = null; } if (str2 == null) { return 0; } if (packageName == null) { String[] packagesForUid = context.getPackageManager().getPackagesForUid(myUid); if (packagesForUid != null && packagesForUid.length > 0) { packageName = packagesForUid[0]; } } int myUid2 = Process.myUid(); String packageName2 = context.getPackageName(); int i12 = 1; if (myUid2 == myUid && n0.b.a(packageName2, packageName)) { z10 = true; } else { z10 = false; } if (z10) { if (i11 >= 29) { AppOpsManager c10 = b0.o.c(context); i10 = b0.o.a(c10, str2, Binder.getCallingUid(), packageName); if (i10 == 0) { i10 = b0.o.a(c10, str2, myUid, b0.o.b(context)); } if (i10 != 0) { return 0; } return -2; } if (i11 >= 23) { i12 = b0.m.c((AppOpsManager) b0.m.a(context, AppOpsManager.class), str2, packageName); } } else if (i11 >= 23) { i12 = b0.m.c((AppOpsManager) b0.m.a(context, AppOpsManager.class), str2, packageName); } i10 = i12; if (i10 != 0) { } } return -1; } public static gb.w e(int i10) { if (i10 != 0) { if (i10 != 1) { return new g7.h(); } return new g7.d(); } return new g7.h(); } public static b8.e g(String str, String str2) { d5.o.e(str); d5.o.e(str2); return new b8.e(str, str2, null, null, false); } public static b8.e h(String str, String str2) { if (b8.e.C0(str2)) { return new b8.e(str, null, str2, null, false); } throw new IllegalArgumentException("Given link is not a valid email link. Please use FirebaseAuth#isSignInWithEmailLink(String) to determine this before calling this function"); } public static String i(ImagePickerActivity imagePickerActivity, Uri uri, String str, String[] strArr) { Throwable th; Cursor cursor; String[] strArr2 = {"_data"}; Cursor cursor2 = null; try { ContentResolver contentResolver = imagePickerActivity.getContentResolver(); if (uri != null) { cursor = contentResolver.query(uri, strArr2, str, strArr, null); if (cursor != null) { try { if (cursor.moveToFirst()) { String string = cursor.getString(cursor.getColumnIndexOrThrow("_data")); cursor.close(); return string; } } catch (Exception unused) { } catch (Throwable th2) { th = th2; cursor2 = cursor; if (cursor2 != null) { cursor2.close(); throw th; } throw th; } } } else { cc.i.k(); throw null; } } catch (Exception unused2) { cursor = null; } catch (Throwable th3) { th = th3; } } public static Drawable j(Context context, int i10) { return o.x0.d().f(context, i10); } public static String k(Uri uri) { String str; String path; boolean z10 = true; try { path = uri.getPath(); } catch (Exception unused) { } if (path != null && ic.i.W(path, ".", 6) != -1) { str = path.substring(ic.i.W(path, ".", 6) + 1); cc.i.b(str, "(this as java.lang.String).substring(startIndex)"); if (str != null) { if (str.length() != 0) { z10 = false; } } str = "jpg"; return '.' + str; } str = null; if (str != null) { } str = "jpg"; return '.' + str; } public static String l(String str, String str2) { return String.format("%s/project/%s/performance/app/android:%s", "https://console.firebase.google.com", str, str2); } public static Object m(Object obj, Method method, Object... objArr) { try { return method.invoke(obj, objArr); } catch (IllegalAccessException e10) { throw new RuntimeException(e10); } catch (InvocationTargetException e11) { throw new RuntimeException(e11); } } public static final void n(Object obj) { if (obj instanceof jc.j) { y.j(((jc.j) obj).f7923a); } } public static void o(View view, g7.f fVar) { boolean z10; w6.a aVar = fVar.f5531s.f5540b; if (aVar != null && aVar.f23371a) { z10 = true; } else { z10 = false; } if (z10) { float f10 = CropImageView.DEFAULT_ASPECT_RATIO; for (ViewParent parent = view.getParent(); parent instanceof View; parent = parent.getParent()) { WeakHashMap<View, o0.l0> weakHashMap = o0.a0.f19559a; f10 += a0.i.i((View) parent); } f.b bVar = fVar.f5531s; if (bVar.f5550m != f10) { bVar.f5550m = f10; fVar.n(); } } } public static int p(int i10) { return (int) (Integer.rotateLeft((int) (i10 * (-862048943)), 15) * 461845907); } public static final jc.b1 q(ub.d dVar, ub.f fVar) { boolean z10; jc.b1 b1Var; if (!(dVar instanceof wb.d)) { return null; } if (fVar.get(jc.c1.f7901s) != null) { z10 = true; } else { z10 = false; } if (!z10) { return null; } wb.d dVar2 = (wb.d) dVar; while (!(dVar2 instanceof jc.a0) && (dVar2 = dVar2.getCallerFrame()) != null) { if (dVar2 instanceof jc.b1) { b1Var = (jc.b1) dVar2; break; } } b1Var = null; if (b1Var == null) { return b1Var; } throw null; } public static String r(String str, Object... objArr) { int length; int length2; int indexOf; String sb2; int i10 = 0; int i11 = 0; while (true) { length = objArr.length; if (i11 >= length) { break; } Object obj = objArr[i11]; if (obj == null) { sb2 = "null"; } else { try { sb2 = obj.toString(); } catch (Exception e10) { String str2 = obj.getClass().getName() + '@' + Integer.toHexString(System.identityHashCode(obj)); Logger.getLogger("com.google.common.base.Strings").logp(Level.WARNING, "com.google.common.base.Strings", "lenientToString", "Exception during lenientFormat for ".concat(str2), (Throwable) e10); StringBuilder d10 = g4.t0.d("<", str2, " threw "); d10.append(e10.getClass().getName()); d10.append(">"); sb2 = d10.toString(); } } objArr[i11] = sb2; i11++; } StringBuilder sb3 = new StringBuilder(str.length() + (length * 16)); int i12 = 0; while (true) { length2 = objArr.length; if (i10 >= length2 || (indexOf = str.indexOf("%s", i12)) == -1) { break; } sb3.append((CharSequence) str, i12, indexOf); sb3.append(objArr[i10]); i12 = indexOf + 2; i10++; } sb3.append((CharSequence) str, i12, str.length()); if (i10 < length2) { sb3.append(" ["); sb3.append(objArr[i10]); for (int i13 = i10 + 1; i13 < objArr.length; i13++) { sb3.append(", "); sb3.append(objArr[i13]); } sb3.append(']'); } return sb3.toString(); } @Override public Object a() { List list = m2.f2228a; return Long.valueOf(ba.f22642t.a().B()); } @Override public void b(Object obj) { } @Override public Object c(a5.i iVar) { return null; } @Override public Object f() { return new TreeMap(); } }