Primer paso de la investigacion. Se aportan el .apk, las carpetas con el apk extraido y el apk descompilado. El archivo API_DOCUMENTATION.md es un archivo donde se anotaran los descubrimientos del funcionamiento de la API, y los .py son scripts para probar la funcionalidad de la API con los métodos que vayamos encontrando. Finalmente, los archivos .js son scripts de Frida para extraer informacion de la APP durante la ejecucion.

This commit is contained in:
2025-12-04 13:59:54 +01:00
parent f2fd1c3bf5
commit e0133d2ca2
10432 changed files with 1019085 additions and 1 deletions

View File

@@ -0,0 +1,27 @@
package C;
import android.app.Notification;
import android.widget.RemoteViews;
/* loaded from: classes.dex */
public abstract class A {
public static Notification.Action.Builder a(Notification.Action.Builder builder, boolean z3) {
return builder.setAllowGeneratedReplies(z3);
}
public static Notification.Builder b(Notification.Builder builder, RemoteViews remoteViews) {
return builder.setCustomBigContentView(remoteViews);
}
public static Notification.Builder c(Notification.Builder builder, RemoteViews remoteViews) {
return builder.setCustomContentView(remoteViews);
}
public static Notification.Builder d(Notification.Builder builder, RemoteViews remoteViews) {
return builder.setCustomHeadsUpContentView(remoteViews);
}
public static Notification.Builder e(Notification.Builder builder, CharSequence[] charSequenceArr) {
return builder.setRemoteInputHistory(charSequenceArr);
}
}

View File

@@ -0,0 +1,174 @@
package C;
import O.InterfaceC0069j;
import O.X;
import android.app.Activity;
import android.os.Bundle;
import android.view.KeyEvent;
import androidx.lifecycle.i0;
import androidx.lifecycle.k0;
import java.util.WeakHashMap;
import kotlin.Deprecated;
import kotlin.jvm.internal.Intrinsics;
/* renamed from: C.l, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractActivityC0048l extends Activity implements androidx.lifecycle.J, InterfaceC0069j {
private final s.j extraDataMap = new s.j(0);
private final androidx.lifecycle.L lifecycleRegistry = new androidx.lifecycle.L(this);
@Override // android.app.Activity, android.view.Window.Callback
public boolean dispatchKeyEvent(KeyEvent event) {
Intrinsics.checkNotNullParameter(event, "event");
Intrinsics.checkNotNullExpressionValue(getWindow().getDecorView(), "window.decorView");
WeakHashMap weakHashMap = X.f1226a;
return superDispatchKeyEvent(event);
}
@Override // android.app.Activity, android.view.Window.Callback
public boolean dispatchKeyShortcutEvent(KeyEvent event) {
Intrinsics.checkNotNullParameter(event, "event");
Intrinsics.checkNotNullExpressionValue(getWindow().getDecorView(), "window.decorView");
WeakHashMap weakHashMap = X.f1226a;
return super.dispatchKeyShortcutEvent(event);
}
@Deprecated(message = "Use {@link View#getTag(int)} with the window's decor view.")
public <T extends AbstractC0047k> T getExtraData(Class<T> extraDataClass) {
Intrinsics.checkNotNullParameter(extraDataClass, "extraDataClass");
if (this.extraDataMap.get(extraDataClass) == null) {
return null;
}
throw new ClassCastException();
}
@Override // androidx.lifecycle.J
public androidx.lifecycle.C getLifecycle() {
return this.lifecycleRegistry;
}
@Override // android.app.Activity
public void onCreate(Bundle bundle) {
super.onCreate(bundle);
int i = k0.f3396a;
i0.b(this);
}
@Override // android.app.Activity
public void onSaveInstanceState(Bundle outState) {
Intrinsics.checkNotNullParameter(outState, "outState");
this.lifecycleRegistry.h(androidx.lifecycle.B.f3282c);
super.onSaveInstanceState(outState);
}
@Deprecated(message = "Use {@link View#setTag(int, Object)} with the window's decor view.")
public void putExtraData(AbstractC0047k extraData) {
Intrinsics.checkNotNullParameter(extraData, "extraData");
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x0023, code lost:
if (r3.equals("--contentcapture") == false) goto L32;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x002c, code lost:
if (r3.equals("--list-dumpables") == false) goto L32;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x003c, code lost:
if (android.os.Build.VERSION.SDK_INT < 33) goto L32;
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x0035, code lost:
if (r3.equals("--dump-dumpable") == false) goto L32;
*/
/* JADX WARN: Code restructure failed: missing block: B:21:0x004c, code lost:
if (android.os.Build.VERSION.SDK_INT < 31) goto L32;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x0018, code lost:
if (r3.equals("--autofill") == false) goto L32;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x001b, code lost:
r0 = true;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final boolean shouldDumpInternalState(java.lang.String[] r3) {
/*
r2 = this;
r2 = 1
r0 = 0
if (r3 == 0) goto L4f
int r1 = r3.length
if (r1 != 0) goto L8
goto L4f
L8:
r3 = r3[r0]
int r1 = r3.hashCode()
switch(r1) {
case -645125871: goto L3f;
case 100470631: goto L2f;
case 472614934: goto L26;
case 1159329357: goto L1d;
case 1455016274: goto L12;
default: goto L11;
}
L11:
goto L4f
L12:
java.lang.String r1 = "--autofill"
boolean r3 = r3.equals(r1)
if (r3 != 0) goto L1b
goto L4f
L1b:
r0 = r2
goto L4f
L1d:
java.lang.String r1 = "--contentcapture"
boolean r3 = r3.equals(r1)
if (r3 != 0) goto L1b
goto L4f
L26:
java.lang.String r1 = "--list-dumpables"
boolean r3 = r3.equals(r1)
if (r3 != 0) goto L38
goto L4f
L2f:
java.lang.String r1 = "--dump-dumpable"
boolean r3 = r3.equals(r1)
if (r3 != 0) goto L38
goto L4f
L38:
int r3 = android.os.Build.VERSION.SDK_INT
r1 = 33
if (r3 < r1) goto L4f
goto L1b
L3f:
java.lang.String r1 = "--translation"
boolean r3 = r3.equals(r1)
if (r3 != 0) goto L48
goto L4f
L48:
int r3 = android.os.Build.VERSION.SDK_INT
r1 = 31
if (r3 < r1) goto L4f
goto L1b
L4f:
r2 = r2 ^ r0
return r2
*/
throw new UnsupportedOperationException("Method not decompiled: C.AbstractActivityC0048l.shouldDumpInternalState(java.lang.String[]):boolean");
}
@Override // O.InterfaceC0069j
public boolean superDispatchKeyEvent(KeyEvent event) {
Intrinsics.checkNotNullParameter(event, "event");
return super.dispatchKeyEvent(event);
}
}

View File

@@ -0,0 +1,28 @@
package C;
import android.app.Activity;
import android.app.SharedElementCallback;
/* renamed from: C.a, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0037a {
public static void a(Activity activity) {
activity.finishAfterTransition();
}
public static void b(Activity activity) {
activity.postponeEnterTransition();
}
public static void c(Activity activity, SharedElementCallback sharedElementCallback) {
activity.setEnterSharedElementCallback(sharedElementCallback);
}
public static void d(Activity activity, SharedElementCallback sharedElementCallback) {
activity.setExitSharedElementCallback(sharedElementCallback);
}
public static void e(Activity activity) {
activity.startPostponedEnterTransition();
}
}

View File

@@ -0,0 +1,20 @@
package C;
import android.app.Activity;
import android.app.SharedElementCallback;
/* renamed from: C.b, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0038b {
public static void a(Object obj) {
((SharedElementCallback.OnSharedElementsReadyListener) obj).onSharedElementsReady();
}
public static void b(Activity activity, String[] strArr, int i) {
activity.requestPermissions(strArr, i);
}
public static boolean c(Activity activity, String str) {
return activity.shouldShowRequestPermissionRationale(str);
}
}

View File

@@ -0,0 +1,11 @@
package C;
import android.app.Activity;
/* renamed from: C.c, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0039c {
public static <T> T a(Activity activity, int i) {
return (T) activity.requireViewById(i);
}
}

View File

@@ -0,0 +1,23 @@
package C;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.pm.PackageManager;
import java.lang.reflect.InvocationTargetException;
/* renamed from: C.d, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0040d {
public static boolean a(Activity activity) {
return activity.isLaunchedFromBubble();
}
@SuppressLint({"BanUncheckedReflection"})
public static boolean b(Activity activity, String str) {
try {
return ((Boolean) PackageManager.class.getMethod("shouldShowRequestPermissionRationale", String.class).invoke(activity.getApplication().getPackageManager(), str)).booleanValue();
} catch (IllegalAccessException | NoSuchMethodException | InvocationTargetException unused) {
return activity.shouldShowRequestPermissionRationale(str);
}
}
}

View File

@@ -0,0 +1,11 @@
package C;
import android.app.Activity;
/* renamed from: C.e, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0041e {
public static boolean a(Activity activity, String str) {
return activity.shouldShowRequestPermissionRationale(str);
}
}

View File

@@ -0,0 +1,17 @@
package C;
import android.os.Build;
import android.text.TextUtils;
import androidx.fragment.app.P;
/* renamed from: C.g, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0043g extends D.h {
public static boolean a(P p, String str) {
int i = Build.VERSION.SDK_INT;
if (i >= 33 || !TextUtils.equals("android.permission.POST_NOTIFICATIONS", str)) {
return i >= 32 ? AbstractC0041e.a(p, str) : i == 31 ? AbstractC0040d.b(p, str) : AbstractC0038b.c(p, str);
}
return false;
}
}

View File

@@ -0,0 +1,264 @@
package C;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.util.Log;
import g.AbstractActivityC0364k;
/* renamed from: C.h, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0044h {
/* renamed from: a, reason: collision with root package name */
public static final Object f235a = new Object();
public static Intent a(Context context, ComponentName componentName) {
String c4 = c(context, componentName);
if (c4 == null) {
return null;
}
ComponentName componentName2 = new ComponentName(componentName.getPackageName(), c4);
return c(context, componentName2) == null ? Intent.makeMainActivity(componentName2) : new Intent().setComponent(componentName2);
}
public static Intent b(AbstractActivityC0364k abstractActivityC0364k) {
Intent parentActivityIntent = abstractActivityC0364k.getParentActivityIntent();
if (parentActivityIntent != null) {
return parentActivityIntent;
}
try {
String c4 = c(abstractActivityC0364k, abstractActivityC0364k.getComponentName());
if (c4 == null) {
return null;
}
ComponentName componentName = new ComponentName(abstractActivityC0364k, c4);
try {
return c(abstractActivityC0364k, componentName) == null ? Intent.makeMainActivity(componentName) : new Intent().setComponent(componentName);
} catch (PackageManager.NameNotFoundException unused) {
Log.e("NavUtils", "getParentActivityIntent: bad parentActivityName '" + c4 + "' in manifest");
return null;
}
} catch (PackageManager.NameNotFoundException e4) {
throw new IllegalArgumentException(e4);
}
}
public static String c(Context context, ComponentName componentName) {
String string;
ActivityInfo activityInfo = context.getPackageManager().getActivityInfo(componentName, 269222528);
String str = activityInfo.parentActivityName;
if (str != null) {
return str;
}
Bundle bundle = activityInfo.metaData;
if (bundle == null || (string = bundle.getString("android.support.PARENT_ACTIVITY")) == null) {
return null;
}
if (string.charAt(0) != '.') {
return string;
}
return context.getPackageName() + string;
}
/* JADX WARN: Code restructure failed: missing block: B:16:0x003c, code lost:
if (r5 != null) goto L40;
*/
/* JADX WARN: Code restructure failed: missing block: B:18:?, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x003e, code lost:
r5.close();
*/
/* JADX WARN: Code restructure failed: missing block: B:33:0x004c, code lost:
if (r5 == null) goto L24;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static void d(android.content.Context r5, java.lang.String r6) {
/*
java.lang.Object r0 = C.AbstractC0044h.f235a
monitor-enter(r0)
java.lang.String r1 = ""
boolean r1 = r6.equals(r1) // Catch: java.lang.Throwable -> L12
if (r1 == 0) goto L14
java.lang.String r6 = "androidx.appcompat.app.AppCompatDelegate.application_locales_record_file"
r5.deleteFile(r6) // Catch: java.lang.Throwable -> L12
monitor-exit(r0) // Catch: java.lang.Throwable -> L12
return
L12:
r5 = move-exception
goto L60
L14:
java.lang.String r1 = "androidx.appcompat.app.AppCompatDelegate.application_locales_record_file"
r2 = 0
java.io.FileOutputStream r5 = r5.openFileOutput(r1, r2) // Catch: java.lang.Throwable -> L12 java.io.FileNotFoundException -> L57
org.xmlpull.v1.XmlSerializer r1 = android.util.Xml.newSerializer() // Catch: java.lang.Throwable -> L12
r2 = 0
r1.setOutput(r5, r2) // Catch: java.lang.Throwable -> L42 java.lang.Exception -> L44
java.lang.String r3 = "UTF-8"
java.lang.Boolean r4 = java.lang.Boolean.TRUE // Catch: java.lang.Throwable -> L42 java.lang.Exception -> L44
r1.startDocument(r3, r4) // Catch: java.lang.Throwable -> L42 java.lang.Exception -> L44
java.lang.String r3 = "locales"
r1.startTag(r2, r3) // Catch: java.lang.Throwable -> L42 java.lang.Exception -> L44
java.lang.String r3 = "application_locales"
r1.attribute(r2, r3, r6) // Catch: java.lang.Throwable -> L42 java.lang.Exception -> L44
java.lang.String r6 = "locales"
r1.endTag(r2, r6) // Catch: java.lang.Throwable -> L42 java.lang.Exception -> L44
r1.endDocument() // Catch: java.lang.Throwable -> L42 java.lang.Exception -> L44
if (r5 == 0) goto L4f
L3e:
r5.close() // Catch: java.lang.Throwable -> L12 java.io.IOException -> L4f
goto L4f
L42:
r6 = move-exception
goto L51
L44:
r6 = move-exception
java.lang.String r1 = "AppLocalesStorageHelper"
java.lang.String r2 = "Storing App Locales : Failed to persist app-locales in storage "
android.util.Log.w(r1, r2, r6) // Catch: java.lang.Throwable -> L42
if (r5 == 0) goto L4f
goto L3e
L4f:
monitor-exit(r0) // Catch: java.lang.Throwable -> L12
goto L5f
L51:
if (r5 == 0) goto L56
r5.close() // Catch: java.lang.Throwable -> L12 java.io.IOException -> L56
L56:
throw r6 // Catch: java.lang.Throwable -> L12
L57:
java.lang.String r5 = "AppLocalesStorageHelper"
java.lang.String r6 = "Storing App Locales : FileNotFoundException: Cannot open file androidx.appcompat.app.AppCompatDelegate.application_locales_record_file for writing "
android.util.Log.w(r5, r6) // Catch: java.lang.Throwable -> L12
monitor-exit(r0) // Catch: java.lang.Throwable -> L12
L5f:
return
L60:
monitor-exit(r0) // Catch: java.lang.Throwable -> L12
throw r5
*/
throw new UnsupportedOperationException("Method not decompiled: C.AbstractC0044h.d(android.content.Context, java.lang.String):void");
}
/* JADX WARN: Code restructure failed: missing block: B:16:0x0044, code lost:
if (r2 != null) goto L48;
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x005a, code lost:
if (r1.isEmpty() == false) goto L33;
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x005d, code lost:
r8.deleteFile("androidx.appcompat.app.AppCompatDelegate.application_locales_record_file");
*/
/* JADX WARN: Code restructure failed: missing block: B:25:0x0046, code lost:
r2.close();
*/
/* JADX WARN: Code restructure failed: missing block: B:31:0x002e, code lost:
if (r5 != 4) goto L57;
*/
/* JADX WARN: Code restructure failed: missing block: B:34:0x003b, code lost:
if (r3.getName().equals("locales") == false) goto L62;
*/
/* JADX WARN: Code restructure failed: missing block: B:36:0x003d, code lost:
r1 = r3.getAttributeValue(null, "application_locales");
*/
/* JADX WARN: Code restructure failed: missing block: B:54:0x0053, code lost:
if (r2 == null) goto L31;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static java.lang.String e(android.content.Context r8) {
/*
java.lang.Object r0 = C.AbstractC0044h.f235a
monitor-enter(r0)
java.lang.String r1 = ""
java.lang.String r2 = "androidx.appcompat.app.AppCompatDelegate.application_locales_record_file"
java.io.FileInputStream r2 = r8.openFileInput(r2) // Catch: java.lang.Throwable -> L4a java.io.FileNotFoundException -> L6a
org.xmlpull.v1.XmlPullParser r3 = android.util.Xml.newPullParser() // Catch: java.lang.Throwable -> L29 java.lang.Throwable -> L4c
java.lang.String r4 = "UTF-8"
r3.setInput(r2, r4) // Catch: java.lang.Throwable -> L29 java.lang.Throwable -> L4c
int r4 = r3.getDepth() // Catch: java.lang.Throwable -> L29 java.lang.Throwable -> L4c
L18:
int r5 = r3.next() // Catch: java.lang.Throwable -> L29 java.lang.Throwable -> L4c
r6 = 1
if (r5 == r6) goto L44
r6 = 3
if (r5 != r6) goto L2b
int r7 = r3.getDepth() // Catch: java.lang.Throwable -> L29 java.lang.Throwable -> L4c
if (r7 <= r4) goto L44
goto L2b
L29:
r8 = move-exception
goto L64
L2b:
if (r5 == r6) goto L18
r6 = 4
if (r5 != r6) goto L31
goto L18
L31:
java.lang.String r5 = r3.getName() // Catch: java.lang.Throwable -> L29 java.lang.Throwable -> L4c
java.lang.String r6 = "locales"
boolean r5 = r5.equals(r6) // Catch: java.lang.Throwable -> L29 java.lang.Throwable -> L4c
if (r5 == 0) goto L18
java.lang.String r4 = "application_locales"
r5 = 0
java.lang.String r1 = r3.getAttributeValue(r5, r4) // Catch: java.lang.Throwable -> L29 java.lang.Throwable -> L4c
L44:
if (r2 == 0) goto L56
L46:
r2.close() // Catch: java.lang.Throwable -> L4a java.io.IOException -> L56
goto L56
L4a:
r8 = move-exception
goto L6c
L4c:
java.lang.String r3 = "AppLocalesStorageHelper"
java.lang.String r4 = "Reading app Locales : Unable to parse through file :androidx.appcompat.app.AppCompatDelegate.application_locales_record_file"
android.util.Log.w(r3, r4) // Catch: java.lang.Throwable -> L29
if (r2 == 0) goto L56
goto L46
L56:
boolean r2 = r1.isEmpty() // Catch: java.lang.Throwable -> L4a
if (r2 != 0) goto L5d
goto L62
L5d:
java.lang.String r2 = "androidx.appcompat.app.AppCompatDelegate.application_locales_record_file"
r8.deleteFile(r2) // Catch: java.lang.Throwable -> L4a
L62:
monitor-exit(r0) // Catch: java.lang.Throwable -> L4a
return r1
L64:
if (r2 == 0) goto L69
r2.close() // Catch: java.lang.Throwable -> L4a java.io.IOException -> L69
L69:
throw r8 // Catch: java.lang.Throwable -> L4a
L6a:
monitor-exit(r0) // Catch: java.lang.Throwable -> L4a
return r1
L6c:
monitor-exit(r0) // Catch: java.lang.Throwable -> L4a
throw r8
*/
throw new UnsupportedOperationException("Method not decompiled: C.AbstractC0044h.e(android.content.Context):java.lang.String");
}
}

View File

@@ -0,0 +1,24 @@
package C;
import android.app.AppOpsManager;
import android.content.Context;
/* renamed from: C.i, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0045i {
public static <T> T a(Context context, Class<T> cls) {
return (T) context.getSystemService(cls);
}
public static int b(AppOpsManager appOpsManager, String str, String str2) {
return appOpsManager.noteProxyOp(str, str2);
}
public static int c(AppOpsManager appOpsManager, String str, String str2) {
return appOpsManager.noteProxyOpNoThrow(str, str2);
}
public static String d(String str) {
return AppOpsManager.permissionToOp(str);
}
}

View File

@@ -0,0 +1,23 @@
package C;
import android.app.AppOpsManager;
import android.content.Context;
/* renamed from: C.j, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0046j {
public static int a(AppOpsManager appOpsManager, String str, int i, String str2) {
if (appOpsManager == null) {
return 1;
}
return appOpsManager.checkOpNoThrow(str, i, str2);
}
public static String b(Context context) {
return context.getOpPackageName();
}
public static AppOpsManager c(Context context) {
return (AppOpsManager) context.getSystemService(AppOpsManager.class);
}
}

View File

@@ -0,0 +1,6 @@
package C;
/* renamed from: C.k, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0047k {
}

View File

@@ -0,0 +1,16 @@
package C;
import android.app.LocaleManager;
import android.os.LocaleList;
/* renamed from: C.m, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0049m {
public static LocaleList a(Object obj) {
return ((LocaleManager) obj).getApplicationLocales();
}
public static LocaleList b(Object obj) {
return ((LocaleManager) obj).getSystemLocales();
}
}

View File

@@ -0,0 +1,35 @@
package C;
import android.app.Notification;
import android.content.Context;
/* loaded from: classes.dex */
public abstract class B {
public static Notification.Builder a(Context context, String str) {
return new Notification.Builder(context, str);
}
public static Notification.Builder b(Notification.Builder builder, int i) {
return builder.setBadgeIconType(i);
}
public static Notification.Builder c(Notification.Builder builder, boolean z3) {
return builder.setColorized(z3);
}
public static Notification.Builder d(Notification.Builder builder, int i) {
return builder.setGroupAlertBehavior(i);
}
public static Notification.Builder e(Notification.Builder builder, CharSequence charSequence) {
return builder.setSettingsText(charSequence);
}
public static Notification.Builder f(Notification.Builder builder, String str) {
return builder.setShortcutId(str);
}
public static Notification.Builder g(Notification.Builder builder, long j4) {
return builder.setTimeoutAfter(j4);
}
}

View File

@@ -0,0 +1,15 @@
package C;
import android.app.Notification;
import android.app.Person;
/* loaded from: classes.dex */
public abstract class C {
public static Notification.Builder a(Notification.Builder builder, Person person) {
return builder.addPerson(person);
}
public static Notification.Action.Builder b(Notification.Action.Builder builder, int i) {
return builder.setSemanticAction(i);
}
}

View File

@@ -0,0 +1,23 @@
package C;
import android.app.Notification;
import android.content.LocusId;
/* loaded from: classes.dex */
public abstract class D {
public static Notification.Builder a(Notification.Builder builder, boolean z3) {
return builder.setAllowSystemGeneratedContextualActions(z3);
}
public static Notification.Builder b(Notification.Builder builder, Notification.BubbleMetadata bubbleMetadata) {
return builder.setBubbleMetadata(bubbleMetadata);
}
public static Notification.Action.Builder c(Notification.Action.Builder builder, boolean z3) {
return builder.setContextual(z3);
}
public static Notification.Builder d(Notification.Builder builder, Object obj) {
return builder.setLocusId((LocusId) obj);
}
}

View File

@@ -0,0 +1,14 @@
package C;
import android.app.Notification;
/* loaded from: classes.dex */
public abstract class E {
public static Notification.Action.Builder a(Notification.Action.Builder builder, boolean z3) {
return builder.setAuthenticationRequired(z3);
}
public static Notification.Builder b(Notification.Builder builder, int i) {
return builder.setForegroundServiceBehavior(i);
}
}

View File

@@ -0,0 +1,14 @@
package C;
import android.app.NotificationManager;
/* loaded from: classes.dex */
public abstract class F {
public static boolean a(NotificationManager notificationManager) {
return notificationManager.areNotificationsEnabled();
}
public static int b(NotificationManager notificationManager) {
return notificationManager.getImportance();
}
}

View File

@@ -0,0 +1,20 @@
package C;
import android.app.NotificationManager;
import android.content.Context;
import java.util.HashSet;
/* loaded from: classes.dex */
public final class G {
/* renamed from: a, reason: collision with root package name */
public final NotificationManager f231a;
static {
new HashSet();
}
public G(Context context) {
this.f231a = (NotificationManager) context.getSystemService("notification");
}
}

View File

@@ -0,0 +1,8 @@
package C;
/* loaded from: classes.dex */
public interface H {
void addOnMultiWindowModeChangedListener(N.a aVar);
void removeOnMultiWindowModeChangedListener(N.a aVar);
}

View File

@@ -0,0 +1,8 @@
package C;
/* loaded from: classes.dex */
public interface I {
void addOnPictureInPictureModeChangedListener(N.a aVar);
void removeOnPictureInPictureModeChangedListener(N.a aVar);
}

View File

@@ -0,0 +1,7 @@
package C;
/* renamed from: C.f, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public interface InterfaceC0042f {
void validateRequestPermissionsRequestCode(int i);
}

View File

@@ -0,0 +1,12 @@
package C;
/* loaded from: classes.dex */
public final class J {
/* renamed from: a, reason: collision with root package name */
public final boolean f232a;
public J(boolean z3) {
this.f232a = z3;
}
}

View File

@@ -0,0 +1,5 @@
package C;
/* loaded from: classes.dex */
public abstract class K {
}

View File

@@ -0,0 +1,8 @@
package C;
import android.content.Intent;
/* loaded from: classes.dex */
public interface L {
Intent getSupportParentActivityIntent();
}

View File

@@ -0,0 +1,58 @@
package C;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.util.Log;
import java.util.ArrayList;
import java.util.Iterator;
/* loaded from: classes.dex */
public final class M implements Iterable {
/* renamed from: a, reason: collision with root package name */
public final ArrayList f233a = new ArrayList();
/* renamed from: b, reason: collision with root package name */
public final Context f234b;
public M(Context context) {
this.f234b = context;
}
public final void a(ComponentName componentName) {
Context context = this.f234b;
ArrayList arrayList = this.f233a;
int size = arrayList.size();
try {
for (Intent a2 = AbstractC0044h.a(context, componentName); a2 != null; a2 = AbstractC0044h.a(context, a2.getComponent())) {
arrayList.add(size, a2);
}
} catch (PackageManager.NameNotFoundException e4) {
Log.e("TaskStackBuilder", "Bad ComponentName while traversing activity parent metadata");
throw new IllegalArgumentException(e4);
}
}
public final void b() {
ArrayList arrayList = this.f233a;
if (arrayList.isEmpty()) {
throw new IllegalStateException("No intents added to TaskStackBuilder; cannot startActivities");
}
Intent[] intentArr = (Intent[]) arrayList.toArray(new Intent[0]);
intentArr[0] = new Intent(intentArr[0]).addFlags(268484608);
Context context = this.f234b;
if (D.h.startActivities(context, intentArr, null)) {
return;
}
Intent intent = new Intent(intentArr[intentArr.length - 1]);
intent.addFlags(268435456);
context.startActivity(intent);
}
@Override // java.lang.Iterable
public final Iterator iterator() {
return this.f233a.iterator();
}
}

View File

@@ -0,0 +1,12 @@
package C;
/* loaded from: classes.dex */
public final class n {
/* renamed from: a, reason: collision with root package name */
public final boolean f236a;
public n(boolean z3) {
this.f236a = z3;
}
}

View File

@@ -0,0 +1,48 @@
package C;
import android.app.PendingIntent;
import android.os.Bundle;
import androidx.core.graphics.drawable.IconCompat;
/* loaded from: classes.dex */
public final class o {
/* renamed from: a, reason: collision with root package name */
public final Bundle f237a;
/* renamed from: b, reason: collision with root package name */
public IconCompat f238b;
/* renamed from: c, reason: collision with root package name */
public final boolean f239c;
/* renamed from: d, reason: collision with root package name */
public final boolean f240d;
/* renamed from: e, reason: collision with root package name */
public final int f241e;
/* renamed from: f, reason: collision with root package name */
public final CharSequence f242f;
/* renamed from: g, reason: collision with root package name */
public final PendingIntent f243g;
public o(int i, String str, PendingIntent pendingIntent) {
IconCompat a2 = i == 0 ? null : IconCompat.a(i);
Bundle bundle = new Bundle();
this.f240d = true;
this.f238b = a2;
if (a2 != null) {
int i4 = a2.f2784a;
if ((i4 == -1 ? H.e.c(a2.f2785b) : i4) == 2) {
this.f241e = a2.b();
}
}
this.f242f = u.b(str);
this.f243g = pendingIntent;
this.f237a = bundle;
this.f239c = true;
this.f240d = true;
}
}

View File

@@ -0,0 +1,11 @@
package C;
import android.app.Notification;
import android.graphics.drawable.Icon;
/* loaded from: classes.dex */
public abstract class p {
public static void a(Notification.BigPictureStyle bigPictureStyle, Icon icon) {
bigPictureStyle.bigLargeIcon(icon);
}
}

View File

@@ -0,0 +1,19 @@
package C;
import android.app.Notification;
import android.graphics.drawable.Icon;
/* loaded from: classes.dex */
public abstract class q {
public static void a(Notification.BigPictureStyle bigPictureStyle, Icon icon) {
bigPictureStyle.bigPicture(icon);
}
public static void b(Notification.BigPictureStyle bigPictureStyle, CharSequence charSequence) {
bigPictureStyle.setContentDescription(charSequence);
}
public static void c(Notification.BigPictureStyle bigPictureStyle, boolean z3) {
bigPictureStyle.showBigPictureWhenCollapsed(z3);
}
}

View File

@@ -0,0 +1,101 @@
package C;
import android.app.Notification;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapShader;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.graphics.Shader;
import android.os.Build;
import androidx.core.graphics.drawable.IconCompat;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
/* loaded from: classes.dex */
public final class r extends v {
/* renamed from: b, reason: collision with root package name */
public IconCompat f244b;
/* renamed from: c, reason: collision with root package name */
public IconCompat f245c;
/* renamed from: d, reason: collision with root package name */
public boolean f246d;
@Override // C.v
public final void a(A.j jVar) {
Bitmap bitmap;
Notification.BigPictureStyle bigContentTitle = new Notification.BigPictureStyle((Notification.Builder) jVar.f28b).setBigContentTitle(null);
IconCompat iconCompat = this.f244b;
Context context = (Context) jVar.f27a;
if (iconCompat != null) {
if (Build.VERSION.SDK_INT >= 31) {
q.a(bigContentTitle, H.c.c(iconCompat, context));
} else {
int i = iconCompat.f2784a;
if (i == -1) {
i = H.e.c(iconCompat.f2785b);
}
if (i == 1) {
IconCompat iconCompat2 = this.f244b;
int i4 = iconCompat2.f2784a;
if (i4 == -1) {
Object obj = iconCompat2.f2785b;
bitmap = obj instanceof Bitmap ? (Bitmap) obj : null;
} else if (i4 == 1) {
bitmap = (Bitmap) iconCompat2.f2785b;
} else {
if (i4 != 5) {
throw new IllegalStateException("called getBitmap() on " + iconCompat2);
}
Bitmap bitmap2 = (Bitmap) iconCompat2.f2785b;
int min = (int) (Math.min(bitmap2.getWidth(), bitmap2.getHeight()) * 0.6666667f);
Bitmap createBitmap = Bitmap.createBitmap(min, min, Bitmap.Config.ARGB_8888);
Canvas canvas = new Canvas(createBitmap);
Paint paint = new Paint(3);
float f2 = min;
float f4 = 0.5f * f2;
float f5 = 0.9166667f * f4;
float f6 = 0.010416667f * f2;
paint.setColor(0);
paint.setShadowLayer(f6, BitmapDescriptorFactory.HUE_RED, f2 * 0.020833334f, 1023410176);
canvas.drawCircle(f4, f4, f5, paint);
paint.setShadowLayer(f6, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 503316480);
canvas.drawCircle(f4, f4, f5, paint);
paint.clearShadowLayer();
paint.setColor(-16777216);
Shader.TileMode tileMode = Shader.TileMode.CLAMP;
BitmapShader bitmapShader = new BitmapShader(bitmap2, tileMode, tileMode);
Matrix matrix = new Matrix();
matrix.setTranslate((-(bitmap2.getWidth() - min)) / 2.0f, (-(bitmap2.getHeight() - min)) / 2.0f);
bitmapShader.setLocalMatrix(matrix);
paint.setShader(bitmapShader);
canvas.drawCircle(f4, f4, f5, paint);
canvas.setBitmap(null);
bitmap = createBitmap;
}
bigContentTitle = bigContentTitle.bigPicture(bitmap);
}
}
}
if (this.f246d) {
IconCompat iconCompat3 = this.f245c;
if (iconCompat3 == null) {
bigContentTitle.bigLargeIcon((Bitmap) null);
} else {
p.a(bigContentTitle, H.c.c(iconCompat3, context));
}
}
if (Build.VERSION.SDK_INT >= 31) {
q.c(bigContentTitle, false);
q.b(bigContentTitle, null);
}
}
@Override // C.v
public final String d() {
return "androidx.core.app.NotificationCompat$BigPictureStyle";
}
}

View File

@@ -0,0 +1,20 @@
package C;
import android.app.Notification;
/* loaded from: classes.dex */
public final class s extends v {
/* renamed from: b, reason: collision with root package name */
public CharSequence f247b;
@Override // C.v
public final void a(A.j jVar) {
new Notification.BigTextStyle((Notification.Builder) jVar.f28b).setBigContentTitle(null).bigText(this.f247b);
}
@Override // C.v
public final String d() {
return "androidx.core.app.NotificationCompat$BigTextStyle";
}
}

View File

@@ -0,0 +1,26 @@
package C;
import android.media.AudioAttributes;
/* loaded from: classes.dex */
public abstract class t {
public static AudioAttributes a(AudioAttributes.Builder builder) {
return builder.build();
}
public static AudioAttributes.Builder b() {
return new AudioAttributes.Builder();
}
public static AudioAttributes.Builder c(AudioAttributes.Builder builder, int i) {
return builder.setContentType(i);
}
public static AudioAttributes.Builder d(AudioAttributes.Builder builder, int i) {
return builder.setLegacyStreamType(i);
}
public static AudioAttributes.Builder e(AudioAttributes.Builder builder, int i) {
return builder.setUsage(i);
}
}

View File

@@ -0,0 +1,252 @@
package C;
import android.app.Notification;
import android.app.PendingIntent;
import android.content.Context;
import android.os.Build;
import android.os.Bundle;
import android.text.TextUtils;
import androidx.core.graphics.drawable.IconCompat;
import java.util.ArrayList;
import java.util.Iterator;
/* loaded from: classes.dex */
public final class u {
/* renamed from: a, reason: collision with root package name */
public final Context f248a;
/* renamed from: e, reason: collision with root package name */
public CharSequence f252e;
/* renamed from: f, reason: collision with root package name */
public CharSequence f253f;
/* renamed from: g, reason: collision with root package name */
public PendingIntent f254g;
public IconCompat h;
public int i;
/* renamed from: j, reason: collision with root package name */
public int f255j;
/* renamed from: l, reason: collision with root package name */
public v f257l;
/* renamed from: m, reason: collision with root package name */
public String f258m;
/* renamed from: n, reason: collision with root package name */
public boolean f259n;
public Bundle p;
/* renamed from: s, reason: collision with root package name */
public String f263s;
/* renamed from: t, reason: collision with root package name */
public final boolean f264t;
/* renamed from: u, reason: collision with root package name */
public final Notification f265u;
/* renamed from: v, reason: collision with root package name */
public final ArrayList f266v;
/* renamed from: b, reason: collision with root package name */
public final ArrayList f249b = new ArrayList();
/* renamed from: c, reason: collision with root package name */
public final ArrayList f250c = new ArrayList();
/* renamed from: d, reason: collision with root package name */
public final ArrayList f251d = new ArrayList();
/* renamed from: k, reason: collision with root package name */
public boolean f256k = true;
/* renamed from: o, reason: collision with root package name */
public boolean f260o = false;
/* renamed from: q, reason: collision with root package name */
public int f261q = 0;
/* renamed from: r, reason: collision with root package name */
public int f262r = 0;
public u(Context context, String str) {
Notification notification = new Notification();
this.f265u = notification;
this.f248a = context;
this.f263s = str;
notification.when = System.currentTimeMillis();
notification.audioStreamType = -1;
this.f255j = 0;
this.f266v = new ArrayList();
this.f264t = true;
}
public static CharSequence b(String str) {
return (str != null && str.length() > 5120) ? str.subSequence(0, 5120) : str;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r0v0, types: [java.lang.Object, A.j] */
public final Notification a() {
Bundle bundle;
int i;
int i4;
?? obj = new Object();
new ArrayList();
obj.f30d = new Bundle();
obj.f29c = this;
Context context = this.f248a;
obj.f27a = context;
Notification.Builder a2 = B.a(context, this.f263s);
obj.f28b = a2;
Notification notification = this.f265u;
a2.setWhen(notification.when).setSmallIcon(notification.icon, notification.iconLevel).setContent(notification.contentView).setTicker(notification.tickerText, null).setVibrate(notification.vibrate).setLights(notification.ledARGB, notification.ledOnMS, notification.ledOffMS).setOngoing((notification.flags & 2) != 0).setOnlyAlertOnce((notification.flags & 8) != 0).setAutoCancel((notification.flags & 16) != 0).setDefaults(notification.defaults).setContentTitle(this.f252e).setContentText(this.f253f).setContentInfo(null).setContentIntent(this.f254g).setDeleteIntent(notification.deleteIntent).setFullScreenIntent(null, (notification.flags & 128) != 0).setNumber(this.i).setProgress(0, 0, false);
IconCompat iconCompat = this.h;
z.b(a2, iconCompat == null ? null : H.c.c(iconCompat, context));
a2.setSubText(null).setUsesChronometer(false).setPriority(this.f255j);
Iterator it = this.f249b.iterator();
while (it.hasNext()) {
o oVar = (o) it.next();
if (oVar.f238b == null && (i4 = oVar.f241e) != 0) {
oVar.f238b = IconCompat.a(i4);
}
IconCompat iconCompat2 = oVar.f238b;
Notification.Action.Builder a4 = z.a(iconCompat2 != null ? H.c.c(iconCompat2, null) : null, oVar.f242f, oVar.f243g);
Bundle bundle2 = oVar.f237a;
Bundle bundle3 = bundle2 != null ? new Bundle(bundle2) : new Bundle();
boolean z3 = oVar.f239c;
bundle3.putBoolean("android.support.allowGeneratedReplies", z3);
int i5 = Build.VERSION.SDK_INT;
A.a(a4, z3);
bundle3.putInt("android.support.action.semanticAction", 0);
C.b(a4, 0);
D.c(a4, false);
if (i5 >= 31) {
E.a(a4, false);
}
bundle3.putBoolean("android.support.action.showsUserInterface", oVar.f240d);
x.b(a4, bundle3);
x.a((Notification.Builder) obj.f28b, x.d(a4));
}
Bundle bundle4 = this.p;
if (bundle4 != null) {
((Bundle) obj.f30d).putAll(bundle4);
}
((Notification.Builder) obj.f28b).setShowWhen(this.f256k);
x.i((Notification.Builder) obj.f28b, this.f260o);
x.g((Notification.Builder) obj.f28b, this.f258m);
x.j((Notification.Builder) obj.f28b, null);
x.h((Notification.Builder) obj.f28b, this.f259n);
y.b((Notification.Builder) obj.f28b, null);
y.c((Notification.Builder) obj.f28b, this.f261q);
y.f((Notification.Builder) obj.f28b, this.f262r);
y.d((Notification.Builder) obj.f28b, null);
y.e((Notification.Builder) obj.f28b, notification.sound, notification.audioAttributes);
ArrayList arrayList = this.f266v;
if (arrayList != null && !arrayList.isEmpty()) {
Iterator it2 = arrayList.iterator();
while (it2.hasNext()) {
y.a((Notification.Builder) obj.f28b, (String) it2.next());
}
}
ArrayList arrayList2 = this.f251d;
if (arrayList2.size() > 0) {
if (this.p == null) {
this.p = new Bundle();
}
Bundle bundle5 = this.p.getBundle("android.car.EXTENSIONS");
if (bundle5 == null) {
bundle5 = new Bundle();
}
Bundle bundle6 = new Bundle(bundle5);
Bundle bundle7 = new Bundle();
for (int i6 = 0; i6 < arrayList2.size(); i6++) {
String num = Integer.toString(i6);
o oVar2 = (o) arrayList2.get(i6);
Bundle bundle8 = new Bundle();
if (oVar2.f238b == null && (i = oVar2.f241e) != 0) {
oVar2.f238b = IconCompat.a(i);
}
IconCompat iconCompat3 = oVar2.f238b;
bundle8.putInt("icon", iconCompat3 != null ? iconCompat3.b() : 0);
bundle8.putCharSequence("title", oVar2.f242f);
bundle8.putParcelable("actionIntent", oVar2.f243g);
Bundle bundle9 = oVar2.f237a;
Bundle bundle10 = bundle9 != null ? new Bundle(bundle9) : new Bundle();
bundle10.putBoolean("android.support.allowGeneratedReplies", oVar2.f239c);
bundle8.putBundle("extras", bundle10);
bundle8.putParcelableArray("remoteInputs", null);
bundle8.putBoolean("showsUserInterface", oVar2.f240d);
bundle8.putInt("semanticAction", 0);
bundle7.putBundle(num, bundle8);
}
bundle5.putBundle("invisible_actions", bundle7);
bundle6.putBundle("invisible_actions", bundle7);
if (this.p == null) {
this.p = new Bundle();
}
this.p.putBundle("android.car.EXTENSIONS", bundle5);
((Bundle) obj.f30d).putBundle("android.car.EXTENSIONS", bundle6);
}
((Notification.Builder) obj.f28b).setExtras(this.p);
A.e((Notification.Builder) obj.f28b, null);
B.b((Notification.Builder) obj.f28b, 0);
B.e((Notification.Builder) obj.f28b, null);
B.f((Notification.Builder) obj.f28b, null);
B.g((Notification.Builder) obj.f28b, 0L);
B.d((Notification.Builder) obj.f28b, 0);
if (!TextUtils.isEmpty(this.f263s)) {
((Notification.Builder) obj.f28b).setSound(null).setDefaults(0).setLights(0, 0, 0).setVibrate(null);
}
Iterator it3 = this.f250c.iterator();
if (it3.hasNext()) {
throw w.g(it3);
}
D.a((Notification.Builder) obj.f28b, this.f264t);
D.b((Notification.Builder) obj.f28b, null);
u uVar = (u) obj.f29c;
v vVar = uVar.f257l;
if (vVar != 0) {
vVar.a(obj);
}
Notification build = ((Notification.Builder) obj.f28b).build();
if (vVar != 0) {
uVar.f257l.getClass();
}
if (vVar != 0 && (bundle = build.extras) != null) {
bundle.putString("androidx.core.app.extra.COMPAT_TEMPLATE", vVar.d());
}
return build;
}
public final void c(boolean z3) {
Notification notification = this.f265u;
if (z3) {
notification.flags |= 16;
} else {
notification.flags &= -17;
}
}
public final void d(int i) {
Notification notification = this.f265u;
notification.defaults = i;
if ((i & 4) != 0) {
notification.flags |= 1;
}
}
public final void e(v vVar) {
if (this.f257l != vVar) {
this.f257l = vVar;
if (((u) vVar.f267a) != this) {
vVar.f267a = this;
e(vVar);
}
}
}
}

View File

@@ -0,0 +1,153 @@
package C;
import android.content.res.TypedArray;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
/* loaded from: classes.dex */
public abstract class v {
/* renamed from: a, reason: collision with root package name */
public Object f267a = new R1.c();
public abstract void a(A.j jVar);
public R1.c b() {
R1.c cVar = (R1.c) this.f267a;
int i = cVar.f1423f;
int[] iArr = cVar.f1419b;
if (i != 1) {
int i4 = cVar.f1422e;
iArr[0] = i4;
int i5 = cVar.f1421d;
iArr[1] = i5;
iArr[2] = i5;
iArr[3] = i4;
} else {
int i6 = cVar.f1421d;
iArr[0] = i6;
iArr[1] = i6;
int i7 = cVar.f1422e;
iArr[2] = i7;
iArr[3] = i7;
}
float[] fArr = cVar.f1418a;
if (i != 1) {
fArr[0] = Math.max(((1.0f - cVar.f1426k) - cVar.f1427l) / 2.0f, BitmapDescriptorFactory.HUE_RED);
fArr[1] = Math.max(((1.0f - cVar.f1426k) - 0.001f) / 2.0f, BitmapDescriptorFactory.HUE_RED);
fArr[2] = Math.min(((cVar.f1426k + 1.0f) + 0.001f) / 2.0f, 1.0f);
fArr[3] = Math.min(((cVar.f1426k + 1.0f) + cVar.f1427l) / 2.0f, 1.0f);
return cVar;
}
fArr[0] = 0.0f;
fArr[1] = Math.min(cVar.f1426k, 1.0f);
fArr[2] = Math.min(cVar.f1426k + cVar.f1427l, 1.0f);
fArr[3] = 1.0f;
return cVar;
}
public v c(TypedArray typedArray) {
boolean hasValue = typedArray.hasValue(3);
R1.c cVar = (R1.c) this.f267a;
if (hasValue) {
cVar.f1429n = typedArray.getBoolean(3, cVar.f1429n);
}
if (typedArray.hasValue(0)) {
cVar.f1430o = typedArray.getBoolean(0, cVar.f1430o);
}
if (typedArray.hasValue(1)) {
cVar.f1422e = (((int) (Math.min(1.0f, Math.max(BitmapDescriptorFactory.HUE_RED, typedArray.getFloat(1, 0.3f))) * 255.0f)) << 24) | (cVar.f1422e & 16777215);
}
if (typedArray.hasValue(11)) {
cVar.f1421d = (((int) (Math.min(1.0f, Math.max(BitmapDescriptorFactory.HUE_RED, typedArray.getFloat(11, 1.0f))) * 255.0f)) << 24) | (cVar.f1421d & 16777215);
}
if (typedArray.hasValue(7)) {
long j4 = typedArray.getInt(7, (int) cVar.f1433s);
if (j4 < 0) {
throw new IllegalArgumentException(w.l("Given a negative duration: ", j4));
}
cVar.f1433s = j4;
}
if (typedArray.hasValue(14)) {
cVar.f1431q = typedArray.getInt(14, cVar.f1431q);
}
if (typedArray.hasValue(15)) {
long j5 = typedArray.getInt(15, (int) cVar.f1434t);
if (j5 < 0) {
throw new IllegalArgumentException(w.l("Given a negative repeat delay: ", j5));
}
cVar.f1434t = j5;
}
if (typedArray.hasValue(16)) {
cVar.f1432r = typedArray.getInt(16, cVar.f1432r);
}
if (typedArray.hasValue(5)) {
int i = typedArray.getInt(5, cVar.f1420c);
if (i == 1) {
cVar.f1420c = 1;
} else if (i == 2) {
cVar.f1420c = 2;
} else if (i != 3) {
cVar.f1420c = 0;
} else {
cVar.f1420c = 3;
}
}
if (typedArray.hasValue(17)) {
if (typedArray.getInt(17, cVar.f1423f) != 1) {
cVar.f1423f = 0;
} else {
cVar.f1423f = 1;
}
}
if (typedArray.hasValue(6)) {
float f2 = typedArray.getFloat(6, cVar.f1427l);
if (f2 < BitmapDescriptorFactory.HUE_RED) {
throw new IllegalArgumentException("Given invalid dropoff value: " + f2);
}
cVar.f1427l = f2;
}
if (typedArray.hasValue(9)) {
int dimensionPixelSize = typedArray.getDimensionPixelSize(9, cVar.f1424g);
if (dimensionPixelSize < 0) {
throw new IllegalArgumentException(com.google.android.gms.measurement.internal.a.l(dimensionPixelSize, "Given invalid width: "));
}
cVar.f1424g = dimensionPixelSize;
}
if (typedArray.hasValue(8)) {
int dimensionPixelSize2 = typedArray.getDimensionPixelSize(8, cVar.h);
if (dimensionPixelSize2 < 0) {
throw new IllegalArgumentException(com.google.android.gms.measurement.internal.a.l(dimensionPixelSize2, "Given invalid height: "));
}
cVar.h = dimensionPixelSize2;
}
if (typedArray.hasValue(13)) {
float f4 = typedArray.getFloat(13, cVar.f1426k);
if (f4 < BitmapDescriptorFactory.HUE_RED) {
throw new IllegalArgumentException("Given invalid intensity value: " + f4);
}
cVar.f1426k = f4;
}
if (typedArray.hasValue(19)) {
float f5 = typedArray.getFloat(19, cVar.i);
if (f5 < BitmapDescriptorFactory.HUE_RED) {
throw new IllegalArgumentException("Given invalid width ratio: " + f5);
}
cVar.i = f5;
}
if (typedArray.hasValue(10)) {
float f6 = typedArray.getFloat(10, cVar.f1425j);
if (f6 < BitmapDescriptorFactory.HUE_RED) {
throw new IllegalArgumentException("Given invalid height ratio: " + f6);
}
cVar.f1425j = f6;
}
if (typedArray.hasValue(18)) {
cVar.f1428m = typedArray.getFloat(18, cVar.f1428m);
}
return e();
}
public abstract String d();
public abstract v e();
}

View File

@@ -0,0 +1,182 @@
package C;
import android.os.Parcel;
import androidx.datastore.preferences.protobuf.C0119j;
import androidx.recyclerview.widget.RecyclerView;
import com.adif.elcanomovil.DaggerElcanoApplication_HiltComponents_SingletonC;
import com.google.android.gms.dynamic.IObjectWrapper;
import com.google.android.gms.internal.measurement.zzbl;
import com.google.android.gms.internal.measurement.zzh;
import com.google.android.gms.internal.measurement.zzki;
import com.google.android.gms.measurement.internal.zzgd;
import com.google.firebase.encoders.FieldDescriptor;
import com.google.firebase.encoders.proto.AtProtobuf;
import dagger.internal.DoubleCheck;
import dagger.internal.Provider;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.MutablePropertyReference1Impl;
import kotlin.jvm.internal.Reflection;
import kotlin.reflect.KMutableProperty1;
/* loaded from: classes.dex */
public abstract /* synthetic */ class w {
public static void A(zzgd zzgdVar, String str) {
zzgdVar.zzaA().zzk().zza(str);
}
public static int B(int i, int i4, int i5) {
return zzki.zzx(i) + i4 + i5;
}
public static /* synthetic */ String C(int i) {
switch (i) {
case 1:
return "BEGIN_ARRAY";
case 2:
return "END_ARRAY";
case 3:
return "BEGIN_OBJECT";
case 4:
return "END_OBJECT";
case 5:
return "NAME";
case 6:
return "STRING";
case 7:
return "NUMBER";
case 8:
return "BOOLEAN";
case 9:
return "NULL";
case 10:
return "END_DOCUMENT";
default:
return "null";
}
}
public static int a(int i, int i4, int i5) {
return C0119j.y(i) + i4 + i5;
}
public static int b(int i, int i4, int i5, int i6) {
return C0119j.z(i) + i4 + i5 + i6;
}
public static int c(int i, int i4, boolean z3) {
return (Boolean.hashCode(z3) + i) * i4;
}
public static IObjectWrapper d(Parcel parcel) {
IObjectWrapper asInterface = IObjectWrapper.Stub.asInterface(parcel.readStrongBinder());
parcel.recycle();
return asInterface;
}
public static FieldDescriptor e(int i, FieldDescriptor.Builder builder) {
return builder.withProperty(AtProtobuf.builder().tag(i).build()).build();
}
public static Provider f(DaggerElcanoApplication_HiltComponents_SingletonC.SingletonCImpl singletonCImpl, int i) {
return DoubleCheck.provider(new com.adif.elcanomovil.c(singletonCImpl, i));
}
public static ClassCastException g(Iterator it) {
it.next().getClass();
return new ClassCastException();
}
public static Object h(zzbl zzblVar, int i, List list, int i4) {
zzh.zzh(zzblVar.name(), i, list);
return list.get(i4);
}
public static String i(int i, String str, String str2) {
return str + i + str2;
}
public static String j(RecyclerView recyclerView, StringBuilder sb) {
sb.append(recyclerView.D());
return sb.toString();
}
public static String k(String str, int i, int i4, String str2) {
return str + i + str2 + i4;
}
public static String l(String str, long j4) {
return str + j4;
}
public static String m(String str, androidx.fragment.app.K k4, String str2) {
return str + k4 + str2;
}
public static String n(String str, String str2) {
return str + str2;
}
public static String o(String str, String str2, String str3) {
return str + str2 + str3;
}
public static String p(StringBuilder sb, int i, char c4) {
sb.append(i);
sb.append(c4);
return sb.toString();
}
public static String q(StringBuilder sb, long j4, String str) {
sb.append(j4);
sb.append(str);
return sb.toString();
}
public static String r(StringBuilder sb, String str, String str2) {
sb.append(str);
sb.append(str2);
return sb.toString();
}
public static String s(Object[] objArr, int i, String str, String str2) {
String format = String.format(str, Arrays.copyOf(objArr, i));
Intrinsics.checkNotNullExpressionValue(format, str2);
return format;
}
public static StringBuilder t(int i, String str, String str2) {
StringBuilder sb = new StringBuilder(str);
sb.append(i);
sb.append(str2);
return sb;
}
public static KMutableProperty1 u(Class cls, String str, String str2, int i) {
return Reflection.mutableProperty1(new MutablePropertyReference1Impl(cls, str, str2, i));
}
public static void v(zzgd zzgdVar, String str) {
zzgdVar.zzaA().zzd().zza(str);
}
public static /* synthetic */ void w(Object obj) {
if (obj != null) {
throw new ClassCastException();
}
}
public static int x(int i, int i4, int i5) {
return (Integer.hashCode(i) + i4) * i5;
}
public static int y(int i, int i4, int i5, int i6) {
return zzki.zzx(i) + i4 + i5 + i6;
}
public static String z(String str, String str2) {
return str + str2;
}
}

View File

@@ -0,0 +1,49 @@
package C;
import android.app.Notification;
import android.app.PendingIntent;
import android.app.RemoteInput;
import android.os.Bundle;
/* loaded from: classes.dex */
public abstract class x {
public static Notification.Builder a(Notification.Builder builder, Notification.Action action) {
return builder.addAction(action);
}
public static Notification.Action.Builder b(Notification.Action.Builder builder, Bundle bundle) {
return builder.addExtras(bundle);
}
public static Notification.Action.Builder c(Notification.Action.Builder builder, RemoteInput remoteInput) {
return builder.addRemoteInput(remoteInput);
}
public static Notification.Action d(Notification.Action.Builder builder) {
return builder.build();
}
public static Notification.Action.Builder e(int i, CharSequence charSequence, PendingIntent pendingIntent) {
return new Notification.Action.Builder(i, charSequence, pendingIntent);
}
public static String f(Notification notification) {
return notification.getGroup();
}
public static Notification.Builder g(Notification.Builder builder, String str) {
return builder.setGroup(str);
}
public static Notification.Builder h(Notification.Builder builder, boolean z3) {
return builder.setGroupSummary(z3);
}
public static Notification.Builder i(Notification.Builder builder, boolean z3) {
return builder.setLocalOnly(z3);
}
public static Notification.Builder j(Notification.Builder builder, String str) {
return builder.setSortKey(str);
}
}

View File

@@ -0,0 +1,32 @@
package C;
import android.app.Notification;
import android.media.AudioAttributes;
import android.net.Uri;
/* loaded from: classes.dex */
public abstract class y {
public static Notification.Builder a(Notification.Builder builder, String str) {
return builder.addPerson(str);
}
public static Notification.Builder b(Notification.Builder builder, String str) {
return builder.setCategory(str);
}
public static Notification.Builder c(Notification.Builder builder, int i) {
return builder.setColor(i);
}
public static Notification.Builder d(Notification.Builder builder, Notification notification) {
return builder.setPublicVersion(notification);
}
public static Notification.Builder e(Notification.Builder builder, Uri uri, Object obj) {
return builder.setSound(uri, (AudioAttributes) obj);
}
public static Notification.Builder f(Notification.Builder builder, int i) {
return builder.setVisibility(i);
}
}

View File

@@ -0,0 +1,20 @@
package C;
import android.app.Notification;
import android.app.PendingIntent;
import android.graphics.drawable.Icon;
/* loaded from: classes.dex */
public abstract class z {
public static Notification.Action.Builder a(Icon icon, CharSequence charSequence, PendingIntent pendingIntent) {
return new Notification.Action.Builder(icon, charSequence, pendingIntent);
}
public static Notification.Builder b(Notification.Builder builder, Icon icon) {
return builder.setLargeIcon(icon);
}
public static Notification.Builder c(Notification.Builder builder, Object obj) {
return builder.setSmallIcon((Icon) obj);
}
}