正在查看: Moneyman v2.316.0.0 应用的 C2524g.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Moneyman v2.316.0.0 应用的 C2524g.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package g9;
import S1.C0948s;
import S1.C0949t;
import a7.C1282i;
import android.app.ActivityManager;
import android.app.KeyguardManager;
import android.app.Notification;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.media.RingtoneManager;
import android.net.Uri;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.Log;
import androidx.core.graphics.drawable.IconCompat;
import bl.AbstractC1802b;
import com.exponea.sdk.models.NotificationAction;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Iterator;
import java.util.List;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
import java.util.concurrent.atomic.AtomicInteger;
import org.json.JSONArray;
import org.json.JSONException;
public class C2524g {
public final ExecutorService f36819a;
public final Context f36820b;
public final t f36821c;
public C2524g(Context context, t tVar, ExecutorService executorService) {
this.f36819a = executorService;
this.f36820b = context;
this.f36821c = tVar;
}
public final boolean a() {
r rVar;
Context context;
t tVar;
Bundle bundle;
int i5;
String d10;
String d11;
String e4;
int i10;
int i11;
String e9;
Uri defaultUri;
String e10;
Intent launchIntentForPackage;
PendingIntent activity;
PendingIntent broadcast;
String e11;
Integer valueOf;
String e12;
Integer b10;
Integer b11;
Integer b12;
String e13;
Long valueOf2;
JSONArray c10;
long[] jArr;
JSONArray c11;
int[] iArr;
?? r02;
String e14;
IconCompat iconCompat;
IconCompat iconCompat2;
boolean z10;
int i12;
String string;
ApplicationInfo applicationInfo;
if (this.f36821c.a("gcm.n.noui")) {
return true;
}
Context context2 = this.f36820b;
if (!((KeyguardManager) context2.getSystemService("keyguard")).inKeyguardRestrictedInputMode()) {
int myPid = Process.myPid();
List<ActivityManager.RunningAppProcessInfo> runningAppProcesses = ((ActivityManager) context2.getSystemService("activity")).getRunningAppProcesses();
if (runningAppProcesses != null) {
Iterator<ActivityManager.RunningAppProcessInfo> it = runningAppProcesses.iterator();
while (true) {
if (!it.hasNext()) {
break;
}
ActivityManager.RunningAppProcessInfo next = it.next();
if (next.pid == myPid) {
if (next.importance == 100) {
return false;
}
}
}
}
}
String e15 = this.f36821c.e("gcm.n.image");
if (!TextUtils.isEmpty(e15)) {
try {
rVar = new r(new URL(e15));
} catch (MalformedURLException unused) {
Log.w("FirebaseMessaging", "Not downloading image, bad URL: " + e15);
}
if (rVar != null) {
ExecutorService executorService = this.f36819a;
C1282i c1282i = new C1282i();
rVar.f36849b = executorService.submit(new q(0, rVar, c1282i));
rVar.f36850c = c1282i.f11894a;
}
context = this.f36820b;
tVar = this.f36821c;
AtomicInteger atomicInteger = AbstractC2522e.f36817a;
applicationInfo = context.getPackageManager().getApplicationInfo(context.getPackageName(), 128);
if (applicationInfo != null) {
bundle = applicationInfo.metaData;
}
bundle = Bundle.EMPTY;
Bundle bundle2 = bundle;
String e16 = tVar.e("gcm.n.android_channel_id");
if (context.getPackageManager().getApplicationInfo(context.getPackageName(), 0).targetSdkVersion >= 26) {
e16 = null;
} else {
NotificationManager notificationManager = (NotificationManager) context.getSystemService(NotificationManager.class);
if (!TextUtils.isEmpty(e16)) {
if (notificationManager.getNotificationChannel(e16) == null) {
Log.w("FirebaseMessaging", "Notification Channel requested (" + e16 + ") has not been created by the app. Manifest configuration, or default, value will be used.");
}
}
e16 = bundle2.getString("com.google.firebase.messaging.default_notification_channel_id");
if (TextUtils.isEmpty(e16)) {
Log.w("FirebaseMessaging", "Missing Default Notification Channel metadata in AndroidManifest. Default value will be used.");
} else if (notificationManager.getNotificationChannel(e16) == null) {
Log.w("FirebaseMessaging", "Notification Channel set in AndroidManifest.xml has not been created by the app. Default value will be used.");
}
e16 = "fcm_fallback_notification_channel";
if (notificationManager.getNotificationChannel("fcm_fallback_notification_channel") == null) {
i5 = 1;
int identifier = context.getResources().getIdentifier("fcm_fallback_notification_channel_label", "string", context.getPackageName());
if (identifier == 0) {
Log.e("FirebaseMessaging", "String resource \"fcm_fallback_notification_channel_label\" is not found. Using default string channel name.");
string = "Misc";
} else {
string = context.getString(identifier);
}
notificationManager.createNotificationChannel(new NotificationChannel("fcm_fallback_notification_channel", string, 3));
String packageName = context.getPackageName();
Resources resources = context.getResources();
PackageManager packageManager = context.getPackageManager();
S1.A a10 = new S1.A(context, e16);
d10 = tVar.d(resources, packageName, "gcm.n.title");
if (!TextUtils.isEmpty(d10)) {
a10.f7698e = S1.A.b(d10);
}
d11 = tVar.d(resources, packageName, "gcm.n.body");
if (!TextUtils.isEmpty(d11)) {
a10.f7699f = S1.A.b(d11);
C0949t c0949t = new C0949t();
c0949t.f7821e = S1.A.b(d11);
a10.e(c0949t);
}
e4 = tVar.e("gcm.n.icon");
if (!TextUtils.isEmpty(e4)) {
i11 = resources.getIdentifier(e4, "drawable", packageName);
if (i11 == 0 && (i11 = resources.getIdentifier(e4, "mipmap", packageName)) == 0) {
Log.w("FirebaseMessaging", "Icon resource " + e4 + " not found. Notification will use default icon.");
}
a10.f7691M.icon = i11;
e9 = tVar.e("gcm.n.sound2");
if (TextUtils.isEmpty(e9)) {
e9 = tVar.e("gcm.n.sound");
}
if (!TextUtils.isEmpty(e9)) {
defaultUri = null;
} else if ("default".equals(e9) || resources.getIdentifier(e9, "raw", packageName) == 0) {
defaultUri = RingtoneManager.getDefaultUri(2);
} else {
defaultUri = Uri.parse("android.resource://" + packageName + "/raw/" + e9);
}
if (defaultUri != null) {
a10.d(defaultUri);
}
e10 = tVar.e("gcm.n.click_action");
if (TextUtils.isEmpty(e10)) {
launchIntentForPackage = new Intent(e10);
launchIntentForPackage.setPackage(packageName);
launchIntentForPackage.setFlags(268435456);
} else {
String e17 = tVar.e("gcm.n.link_android");
if (TextUtils.isEmpty(e17)) {
e17 = tVar.e("gcm.n.link");
}
Uri parse = !TextUtils.isEmpty(e17) ? Uri.parse(e17) : null;
if (parse != null) {
launchIntentForPackage = new Intent("android.intent.action.VIEW");
launchIntentForPackage.setPackage(packageName);
launchIntentForPackage.setData(parse);
} else {
launchIntentForPackage = packageManager.getLaunchIntentForPackage(packageName);
if (launchIntentForPackage == null) {
Log.w("FirebaseMessaging", "No activity found to launch app");
}
}
}
AtomicInteger atomicInteger2 = AbstractC2522e.f36817a;
if (launchIntentForPackage != null) {
activity = null;
} else {
launchIntentForPackage.addFlags(67108864);
Bundle bundle3 = tVar.f36851a;
Bundle bundle4 = new Bundle(bundle3);
for (String str : bundle3.keySet()) {
if (str.startsWith("google.c.") || str.startsWith("gcm.n.") || str.startsWith("gcm.notification.")) {
bundle4.remove(str);
}
}
launchIntentForPackage.putExtras(bundle4);
if (tVar.a("google.c.a.e")) {
launchIntentForPackage.putExtra("gcm.n.analytics_data", tVar.g());
}
activity = PendingIntent.getActivity(context, atomicInteger2.incrementAndGet(), launchIntentForPackage, 1140850688);
}
a10.f7700g = activity;
broadcast = tVar.a("google.c.a.e") ? null : PendingIntent.getBroadcast(context, atomicInteger2.incrementAndGet(), new Intent("com.google.android.c2dm.intent.RECEIVE").setPackage(context.getPackageName()).putExtra("wrapped_intent", new Intent("com.google.firebase.messaging.NOTIFICATION_DISMISS").putExtras(tVar.g())), 1140850688);
if (broadcast != null) {
a10.f7691M.deleteIntent = broadcast;
}
e11 = tVar.e("gcm.n.color");
if (!TextUtils.isEmpty(e11)) {
try {
valueOf = Integer.valueOf(Color.parseColor(e11));
} catch (IllegalArgumentException unused2) {
Log.w("FirebaseMessaging", "Color is invalid: " + e11 + ". Notification will use default color.");
}
if (valueOf != null) {
a10.f7681C = valueOf.intValue();
}
a10.c(16, !tVar.a("gcm.n.sticky"));
a10.f7716x = tVar.a("gcm.n.local_only");
e12 = tVar.e("gcm.n.ticker");
if (e12 != null) {
a10.f7691M.tickerText = S1.A.b(e12);
}
b10 = tVar.b("gcm.n.notification_priority");
if (b10 != null) {
if (b10.intValue() < -2 || b10.intValue() > 2) {
Log.w("FirebaseMessaging", "notificationPriority is invalid " + b10 + ". Skipping setting notificationPriority.");
}
if (b10 != null) {
a10.f7704l = b10.intValue();
}
b11 = tVar.b("gcm.n.visibility");
if (b11 != null) {
if (b11.intValue() < -1 || b11.intValue() > i5) {
Log.w("NotificationParams", "visibility is invalid: " + b11 + ". Skipping setting visibility.");
}
if (b11 != null) {
a10.f7682D = b11.intValue();
}
b12 = tVar.b("gcm.n.notification_count");
if (b12 != null) {
if (b12.intValue() < 0) {
Log.w("FirebaseMessaging", "notificationCount is invalid: " + b12 + ". Skipping setting notificationCount.");
}
if (b12 != null) {
a10.k = b12.intValue();
}
e13 = tVar.e("gcm.n.event_time");
if (!TextUtils.isEmpty(e13)) {
try {
valueOf2 = Long.valueOf(Long.parseLong(e13));
} catch (NumberFormatException unused3) {
Log.w("NotificationParams", "Couldn't parse value of " + t.h("gcm.n.event_time") + "(" + e13 + ") into a long");
}
if (valueOf2 != null) {
a10.f7705m = true;
a10.f7691M.when = valueOf2.longValue();
}
c10 = tVar.c("gcm.n.vibrate_timings");
if (c10 != null) {
try {
} catch (NumberFormatException | JSONException unused4) {
Log.w("NotificationParams", "User defined vibrateTimings is invalid: " + c10 + ". Skipping setting vibrateTimings.");
}
if (c10.length() <= 1) {
throw new JSONException("vibrateTimings have invalid length");
}
int length = c10.length();
jArr = new long[length];
for (int i13 = 0; i13 < length; i13++) {
jArr[i13] = c10.optLong(i13);
}
if (jArr != null) {
a10.f7691M.vibrate = jArr;
}
c11 = tVar.c("gcm.n.light_settings");
if (c11 != null) {
iArr = new int[3];
try {
} catch (IllegalArgumentException e18) {
Log.w("NotificationParams", "LightSettings is invalid: " + c11 + ". " + e18.getMessage() + ". Skipping setting LightSettings");
} catch (JSONException unused5) {
Log.w("NotificationParams", "LightSettings is invalid: " + c11 + ". Skipping setting LightSettings");
}
if (c11.length() != 3) {
throw new JSONException("lightSettings don't have all three fields");
}
int parseColor = Color.parseColor(c11.optString(0));
if (parseColor == -16777216) {
throw new IllegalArgumentException("Transparent color is invalid");
}
iArr[0] = parseColor;
iArr[1] = c11.optInt(1);
iArr[2] = c11.optInt(2);
if (iArr != null) {
int i14 = iArr[0];
int i15 = iArr[1];
int i16 = iArr[2];
Notification notification = a10.f7691M;
notification.ledARGB = i14;
notification.ledOnMS = i15;
notification.ledOffMS = i16;
notification.flags = ((i15 == 0 || i16 == 0) ? 0 : 1) | ((-2) & notification.flags);
}
boolean a11 = tVar.a("gcm.n.default_sound");
boolean z11 = a11;
if (tVar.a("gcm.n.default_vibrate_timings")) {
z11 = (a11 ? 1 : 0) | 2;
}
r02 = z11;
if (tVar.a("gcm.n.default_light_settings")) {
r02 = (z11 ? 1 : 0) | 4;
}
Notification notification2 = a10.f7691M;
notification2.defaults = r02;
if ((r02 & 4) != 0) {
notification2.flags |= 1;
}
e14 = tVar.e("gcm.n.tag");
if (TextUtils.isEmpty(e14)) {
e14 = "FCM-Notification:" + SystemClock.uptimeMillis();
}
String str2 = e14;
if (rVar != null) {
try {
a7.v vVar = rVar.f36850c;
o6.J.j(vVar);
Bitmap bitmap = (Bitmap) AbstractC1802b.h(vVar, 5L, TimeUnit.SECONDS);
if (bitmap == null) {
iconCompat = null;
} else {
iconCompat = new IconCompat(1);
iconCompat.f20384b = bitmap;
}
a10.f7702i = iconCompat;
C0948s c0948s = new C0948s();
if (bitmap == null) {
iconCompat2 = null;
z10 = true;
} else {
z10 = true;
iconCompat2 = new IconCompat(1);
iconCompat2.f20384b = bitmap;
}
c0948s.f7817e = iconCompat2;
c0948s.f7818f = null;
c0948s.f7819g = z10;
a10.e(c0948s);
} catch (InterruptedException unused6) {
Log.w("FirebaseMessaging", "Interrupted while downloading image, showing notification without it");
rVar.close();
Thread.currentThread().interrupt();
} catch (ExecutionException e19) {
Log.w("FirebaseMessaging", "Failed to download image: " + e19.getCause());
} catch (TimeoutException unused7) {
Log.w("FirebaseMessaging", "Failed to download image in time, showing notification without it");
rVar.close();
}
}
Log.isLoggable("FirebaseMessaging", 3);
((NotificationManager) this.f36820b.getSystemService(NotificationAction.ACTION_TYPE_NOTIFICATION)).notify(str2, 0, a10.a());
return true;
}
iArr = null;
if (iArr != null) {
}
boolean a112 = tVar.a("gcm.n.default_sound");
boolean z112 = a112;
if (tVar.a("gcm.n.default_vibrate_timings")) {
}
r02 = z112;
if (tVar.a("gcm.n.default_light_settings")) {
}
Notification notification22 = a10.f7691M;
notification22.defaults = r02;
if ((r02 & 4) != 0) {
}
e14 = tVar.e("gcm.n.tag");
if (TextUtils.isEmpty(e14)) {
}
String str22 = e14;
if (rVar != null) {
}
Log.isLoggable("FirebaseMessaging", 3);
((NotificationManager) this.f36820b.getSystemService(NotificationAction.ACTION_TYPE_NOTIFICATION)).notify(str22, 0, a10.a());
return true;
}
jArr = null;
if (jArr != null) {
}
c11 = tVar.c("gcm.n.light_settings");
if (c11 != null) {
}
iArr = null;
if (iArr != null) {
}
boolean a1122 = tVar.a("gcm.n.default_sound");
boolean z1122 = a1122;
if (tVar.a("gcm.n.default_vibrate_timings")) {
}
r02 = z1122;
if (tVar.a("gcm.n.default_light_settings")) {
}
Notification notification222 = a10.f7691M;
notification222.defaults = r02;
if ((r02 & 4) != 0) {
}
e14 = tVar.e("gcm.n.tag");
if (TextUtils.isEmpty(e14)) {
}
String str222 = e14;
if (rVar != null) {
}
Log.isLoggable("FirebaseMessaging", 3);
((NotificationManager) this.f36820b.getSystemService(NotificationAction.ACTION_TYPE_NOTIFICATION)).notify(str222, 0, a10.a());
return true;
}
valueOf2 = null;
if (valueOf2 != null) {
}
c10 = tVar.c("gcm.n.vibrate_timings");
if (c10 != null) {
}
jArr = null;
if (jArr != null) {
}
c11 = tVar.c("gcm.n.light_settings");
if (c11 != null) {
}
iArr = null;
if (iArr != null) {
}
boolean a11222 = tVar.a("gcm.n.default_sound");
boolean z11222 = a11222;
if (tVar.a("gcm.n.default_vibrate_timings")) {
}
r02 = z11222;
if (tVar.a("gcm.n.default_light_settings")) {
}
Notification notification2222 = a10.f7691M;
notification2222.defaults = r02;
if ((r02 & 4) != 0) {
}
e14 = tVar.e("gcm.n.tag");
if (TextUtils.isEmpty(e14)) {
}
String str2222 = e14;
if (rVar != null) {
}
Log.isLoggable("FirebaseMessaging", 3);
((NotificationManager) this.f36820b.getSystemService(NotificationAction.ACTION_TYPE_NOTIFICATION)).notify(str2222, 0, a10.a());
return true;
}
b12 = null;
if (b12 != null) {
}
e13 = tVar.e("gcm.n.event_time");
if (!TextUtils.isEmpty(e13)) {
}
valueOf2 = null;
if (valueOf2 != null) {
}
c10 = tVar.c("gcm.n.vibrate_timings");
if (c10 != null) {
}
jArr = null;
if (jArr != null) {
}
c11 = tVar.c("gcm.n.light_settings");
if (c11 != null) {
}
iArr = null;
if (iArr != null) {
}
boolean a112222 = tVar.a("gcm.n.default_sound");
boolean z112222 = a112222;
if (tVar.a("gcm.n.default_vibrate_timings")) {
}
r02 = z112222;
if (tVar.a("gcm.n.default_light_settings")) {
}
Notification notification22222 = a10.f7691M;
notification22222.defaults = r02;
if ((r02 & 4) != 0) {
}
e14 = tVar.e("gcm.n.tag");
if (TextUtils.isEmpty(e14)) {
}
String str22222 = e14;
if (rVar != null) {
}
Log.isLoggable("FirebaseMessaging", 3);
((NotificationManager) this.f36820b.getSystemService(NotificationAction.ACTION_TYPE_NOTIFICATION)).notify(str22222, 0, a10.a());
return true;
}
b11 = null;
if (b11 != null) {
}
b12 = tVar.b("gcm.n.notification_count");
if (b12 != null) {
}
b12 = null;
if (b12 != null) {
}
e13 = tVar.e("gcm.n.event_time");
if (!TextUtils.isEmpty(e13)) {
}
valueOf2 = null;
if (valueOf2 != null) {
}
c10 = tVar.c("gcm.n.vibrate_timings");
if (c10 != null) {
}
jArr = null;
if (jArr != null) {
}
c11 = tVar.c("gcm.n.light_settings");
if (c11 != null) {
}
iArr = null;
if (iArr != null) {
}
boolean a1122222 = tVar.a("gcm.n.default_sound");
boolean z1122222 = a1122222;
if (tVar.a("gcm.n.default_vibrate_timings")) {
}
r02 = z1122222;
if (tVar.a("gcm.n.default_light_settings")) {
}
Notification notification222222 = a10.f7691M;
notification222222.defaults = r02;
if ((r02 & 4) != 0) {
}
e14 = tVar.e("gcm.n.tag");
if (TextUtils.isEmpty(e14)) {
}
String str222222 = e14;
if (rVar != null) {
}
Log.isLoggable("FirebaseMessaging", 3);
((NotificationManager) this.f36820b.getSystemService(NotificationAction.ACTION_TYPE_NOTIFICATION)).notify(str222222, 0, a10.a());
return true;
}
b10 = null;
if (b10 != null) {
}
b11 = tVar.b("gcm.n.visibility");
if (b11 != null) {
}
b11 = null;
if (b11 != null) {
}
b12 = tVar.b("gcm.n.notification_count");
if (b12 != null) {
}
b12 = null;
if (b12 != null) {
}
e13 = tVar.e("gcm.n.event_time");
if (!TextUtils.isEmpty(e13)) {
}
valueOf2 = null;
if (valueOf2 != null) {
}
c10 = tVar.c("gcm.n.vibrate_timings");
if (c10 != null) {
}
jArr = null;
if (jArr != null) {
}
c11 = tVar.c("gcm.n.light_settings");
if (c11 != null) {
}
iArr = null;
if (iArr != null) {
}
boolean a11222222 = tVar.a("gcm.n.default_sound");
boolean z11222222 = a11222222;
if (tVar.a("gcm.n.default_vibrate_timings")) {
}
r02 = z11222222;
if (tVar.a("gcm.n.default_light_settings")) {
}
Notification notification2222222 = a10.f7691M;
notification2222222.defaults = r02;
if ((r02 & 4) != 0) {
}
e14 = tVar.e("gcm.n.tag");
if (TextUtils.isEmpty(e14)) {
}
String str2222222 = e14;
if (rVar != null) {
}
Log.isLoggable("FirebaseMessaging", 3);
((NotificationManager) this.f36820b.getSystemService(NotificationAction.ACTION_TYPE_NOTIFICATION)).notify(str2222222, 0, a10.a());
return true;
}
i12 = bundle2.getInt("com.google.firebase.messaging.default_notification_color", 0);
if (i12 != 0) {
try {
valueOf = Integer.valueOf(context.getColor(i12));
} catch (Resources.NotFoundException unused8) {
Log.w("FirebaseMessaging", "Cannot find the color resource referenced in AndroidManifest.");
}
if (valueOf != null) {
}
a10.c(16, !tVar.a("gcm.n.sticky"));
a10.f7716x = tVar.a("gcm.n.local_only");
e12 = tVar.e("gcm.n.ticker");
if (e12 != null) {
}
b10 = tVar.b("gcm.n.notification_priority");
if (b10 != null) {
}
b10 = null;
if (b10 != null) {
}
b11 = tVar.b("gcm.n.visibility");
if (b11 != null) {
}
b11 = null;
if (b11 != null) {
}
b12 = tVar.b("gcm.n.notification_count");
if (b12 != null) {
}
b12 = null;
if (b12 != null) {
}
e13 = tVar.e("gcm.n.event_time");
if (!TextUtils.isEmpty(e13)) {
}
valueOf2 = null;
if (valueOf2 != null) {
}
c10 = tVar.c("gcm.n.vibrate_timings");
if (c10 != null) {
}
jArr = null;
if (jArr != null) {
}
c11 = tVar.c("gcm.n.light_settings");
if (c11 != null) {
}
iArr = null;
if (iArr != null) {
}
boolean a112222222 = tVar.a("gcm.n.default_sound");
boolean z112222222 = a112222222;
if (tVar.a("gcm.n.default_vibrate_timings")) {
}
r02 = z112222222;
if (tVar.a("gcm.n.default_light_settings")) {
}
Notification notification22222222 = a10.f7691M;
notification22222222.defaults = r02;
if ((r02 & 4) != 0) {
}
e14 = tVar.e("gcm.n.tag");
if (TextUtils.isEmpty(e14)) {
}
String str22222222 = e14;
if (rVar != null) {
}
Log.isLoggable("FirebaseMessaging", 3);
((NotificationManager) this.f36820b.getSystemService(NotificationAction.ACTION_TYPE_NOTIFICATION)).notify(str22222222, 0, a10.a());
return true;
}
valueOf = null;
if (valueOf != null) {
}
a10.c(16, !tVar.a("gcm.n.sticky"));
a10.f7716x = tVar.a("gcm.n.local_only");
e12 = tVar.e("gcm.n.ticker");
if (e12 != null) {
}
b10 = tVar.b("gcm.n.notification_priority");
if (b10 != null) {
}
b10 = null;
if (b10 != null) {
}
b11 = tVar.b("gcm.n.visibility");
if (b11 != null) {
}
b11 = null;
if (b11 != null) {
}
b12 = tVar.b("gcm.n.notification_count");
if (b12 != null) {
}
b12 = null;
if (b12 != null) {
}
e13 = tVar.e("gcm.n.event_time");
if (!TextUtils.isEmpty(e13)) {
}
valueOf2 = null;
if (valueOf2 != null) {
}
c10 = tVar.c("gcm.n.vibrate_timings");
if (c10 != null) {
}
jArr = null;
if (jArr != null) {
}
c11 = tVar.c("gcm.n.light_settings");
if (c11 != null) {
}
iArr = null;
if (iArr != null) {
}
boolean a1122222222 = tVar.a("gcm.n.default_sound");
boolean z1122222222 = a1122222222;
if (tVar.a("gcm.n.default_vibrate_timings")) {
}
r02 = z1122222222;
if (tVar.a("gcm.n.default_light_settings")) {
}
Notification notification222222222 = a10.f7691M;
notification222222222.defaults = r02;
if ((r02 & 4) != 0) {
}
e14 = tVar.e("gcm.n.tag");
if (TextUtils.isEmpty(e14)) {
}
String str222222222 = e14;
if (rVar != null) {
}
Log.isLoggable("FirebaseMessaging", 3);
((NotificationManager) this.f36820b.getSystemService(NotificationAction.ACTION_TYPE_NOTIFICATION)).notify(str222222222, 0, a10.a());
return true;
}
i10 = bundle2.getInt("com.google.firebase.messaging.default_notification_icon", 0);
if (i10 == 0) {
try {
i10 = packageManager.getApplicationInfo(packageName, 0).icon;
} catch (PackageManager.NameNotFoundException e20) {
Log.w("FirebaseMessaging", "Couldn't get own application info: " + e20);
}
}
i11 = i10 != 0 ? i10 : 17301651;
a10.f7691M.icon = i11;
e9 = tVar.e("gcm.n.sound2");
if (TextUtils.isEmpty(e9)) {
}
if (!TextUtils.isEmpty(e9)) {
}
if (defaultUri != null) {
}
e10 = tVar.e("gcm.n.click_action");
if (TextUtils.isEmpty(e10)) {
}
AtomicInteger atomicInteger22 = AbstractC2522e.f36817a;
if (launchIntentForPackage != null) {
}
a10.f7700g = activity;
if (tVar.a("google.c.a.e")) {
}
if (broadcast != null) {
}
e11 = tVar.e("gcm.n.color");
if (!TextUtils.isEmpty(e11)) {
}
i12 = bundle2.getInt("com.google.firebase.messaging.default_notification_color", 0);
if (i12 != 0) {
}
valueOf = null;
if (valueOf != null) {
}
a10.c(16, !tVar.a("gcm.n.sticky"));
a10.f7716x = tVar.a("gcm.n.local_only");
e12 = tVar.e("gcm.n.ticker");
if (e12 != null) {
}
b10 = tVar.b("gcm.n.notification_priority");
if (b10 != null) {
}
b10 = null;
if (b10 != null) {
}
b11 = tVar.b("gcm.n.visibility");
if (b11 != null) {
}
b11 = null;
if (b11 != null) {
}
b12 = tVar.b("gcm.n.notification_count");
if (b12 != null) {
}
b12 = null;
if (b12 != null) {
}
e13 = tVar.e("gcm.n.event_time");
if (!TextUtils.isEmpty(e13)) {
}
valueOf2 = null;
if (valueOf2 != null) {
}
c10 = tVar.c("gcm.n.vibrate_timings");
if (c10 != null) {
}
jArr = null;
if (jArr != null) {
}
c11 = tVar.c("gcm.n.light_settings");
if (c11 != null) {
}
iArr = null;
if (iArr != null) {
}
boolean a11222222222 = tVar.a("gcm.n.default_sound");
boolean z11222222222 = a11222222222;
if (tVar.a("gcm.n.default_vibrate_timings")) {
}
r02 = z11222222222;
if (tVar.a("gcm.n.default_light_settings")) {
}
Notification notification2222222222 = a10.f7691M;
notification2222222222.defaults = r02;
if ((r02 & 4) != 0) {
}
e14 = tVar.e("gcm.n.tag");
if (TextUtils.isEmpty(e14)) {
}
String str2222222222 = e14;
if (rVar != null) {
}
Log.isLoggable("FirebaseMessaging", 3);
((NotificationManager) this.f36820b.getSystemService(NotificationAction.ACTION_TYPE_NOTIFICATION)).notify(str2222222222, 0, a10.a());
return true;
}
}
i5 = 1;
String packageName2 = context.getPackageName();
Resources resources2 = context.getResources();
PackageManager packageManager2 = context.getPackageManager();
S1.A a102 = new S1.A(context, e16);
d10 = tVar.d(resources2, packageName2, "gcm.n.title");
if (!TextUtils.isEmpty(d10)) {
}
d11 = tVar.d(resources2, packageName2, "gcm.n.body");
if (!TextUtils.isEmpty(d11)) {
}
e4 = tVar.e("gcm.n.icon");
if (!TextUtils.isEmpty(e4)) {
}
i10 = bundle2.getInt("com.google.firebase.messaging.default_notification_icon", 0);
if (i10 == 0) {
}
if (i10 != 0) {
}
a102.f7691M.icon = i11;
e9 = tVar.e("gcm.n.sound2");
if (TextUtils.isEmpty(e9)) {
}
if (!TextUtils.isEmpty(e9)) {
}
if (defaultUri != null) {
}
e10 = tVar.e("gcm.n.click_action");
if (TextUtils.isEmpty(e10)) {
}
AtomicInteger atomicInteger222 = AbstractC2522e.f36817a;
if (launchIntentForPackage != null) {
}
a102.f7700g = activity;
if (tVar.a("google.c.a.e")) {
}
if (broadcast != null) {
}
e11 = tVar.e("gcm.n.color");
if (!TextUtils.isEmpty(e11)) {
}
i12 = bundle2.getInt("com.google.firebase.messaging.default_notification_color", 0);
if (i12 != 0) {
}
valueOf = null;
if (valueOf != null) {
}
a102.c(16, !tVar.a("gcm.n.sticky"));
a102.f7716x = tVar.a("gcm.n.local_only");
e12 = tVar.e("gcm.n.ticker");
if (e12 != null) {
}
b10 = tVar.b("gcm.n.notification_priority");
if (b10 != null) {
}
b10 = null;
if (b10 != null) {
}
b11 = tVar.b("gcm.n.visibility");
if (b11 != null) {
}
b11 = null;
if (b11 != null) {
}
b12 = tVar.b("gcm.n.notification_count");
if (b12 != null) {
}
b12 = null;
if (b12 != null) {
}
e13 = tVar.e("gcm.n.event_time");
if (!TextUtils.isEmpty(e13)) {
}
valueOf2 = null;
if (valueOf2 != null) {
}
c10 = tVar.c("gcm.n.vibrate_timings");
if (c10 != null) {
}
jArr = null;
if (jArr != null) {
}
c11 = tVar.c("gcm.n.light_settings");
if (c11 != null) {
}
iArr = null;
if (iArr != null) {
}
boolean a112222222222 = tVar.a("gcm.n.default_sound");
boolean z112222222222 = a112222222222;
if (tVar.a("gcm.n.default_vibrate_timings")) {
}
r02 = z112222222222;
if (tVar.a("gcm.n.default_light_settings")) {
}
Notification notification22222222222 = a102.f7691M;
notification22222222222.defaults = r02;
if ((r02 & 4) != 0) {
}
e14 = tVar.e("gcm.n.tag");
if (TextUtils.isEmpty(e14)) {
}
String str22222222222 = e14;
if (rVar != null) {
}
Log.isLoggable("FirebaseMessaging", 3);
((NotificationManager) this.f36820b.getSystemService(NotificationAction.ACTION_TYPE_NOTIFICATION)).notify(str22222222222, 0, a102.a());
return true;
}
rVar = null;
if (rVar != null) {
}
context = this.f36820b;
tVar = this.f36821c;
AtomicInteger atomicInteger3 = AbstractC2522e.f36817a;
applicationInfo = context.getPackageManager().getApplicationInfo(context.getPackageName(), 128);
if (applicationInfo != null) {
}
bundle = Bundle.EMPTY;
Bundle bundle22 = bundle;
String e162 = tVar.e("gcm.n.android_channel_id");
if (context.getPackageManager().getApplicationInfo(context.getPackageName(), 0).targetSdkVersion >= 26) {
}
i5 = 1;
String packageName22 = context.getPackageName();
Resources resources22 = context.getResources();
PackageManager packageManager22 = context.getPackageManager();
S1.A a1022 = new S1.A(context, e162);
d10 = tVar.d(resources22, packageName22, "gcm.n.title");
if (!TextUtils.isEmpty(d10)) {
}
d11 = tVar.d(resources22, packageName22, "gcm.n.body");
if (!TextUtils.isEmpty(d11)) {
}
e4 = tVar.e("gcm.n.icon");
if (!TextUtils.isEmpty(e4)) {
}
i10 = bundle22.getInt("com.google.firebase.messaging.default_notification_icon", 0);
if (i10 == 0) {
}
if (i10 != 0) {
}
a1022.f7691M.icon = i11;
e9 = tVar.e("gcm.n.sound2");
if (TextUtils.isEmpty(e9)) {
}
if (!TextUtils.isEmpty(e9)) {
}
if (defaultUri != null) {
}
e10 = tVar.e("gcm.n.click_action");
if (TextUtils.isEmpty(e10)) {
}
AtomicInteger atomicInteger2222 = AbstractC2522e.f36817a;
if (launchIntentForPackage != null) {
}
a1022.f7700g = activity;
if (tVar.a("google.c.a.e")) {
}
if (broadcast != null) {
}
e11 = tVar.e("gcm.n.color");
if (!TextUtils.isEmpty(e11)) {
}
i12 = bundle22.getInt("com.google.firebase.messaging.default_notification_color", 0);
if (i12 != 0) {
}
valueOf = null;
if (valueOf != null) {
}
a1022.c(16, !tVar.a("gcm.n.sticky"));
a1022.f7716x = tVar.a("gcm.n.local_only");
e12 = tVar.e("gcm.n.ticker");
if (e12 != null) {
}
b10 = tVar.b("gcm.n.notification_priority");
if (b10 != null) {
}
b10 = null;
if (b10 != null) {
}
b11 = tVar.b("gcm.n.visibility");
if (b11 != null) {
}
b11 = null;
if (b11 != null) {
}
b12 = tVar.b("gcm.n.notification_count");
if (b12 != null) {
}
b12 = null;
if (b12 != null) {
}
e13 = tVar.e("gcm.n.event_time");
if (!TextUtils.isEmpty(e13)) {
}
valueOf2 = null;
if (valueOf2 != null) {
}
c10 = tVar.c("gcm.n.vibrate_timings");
if (c10 != null) {
}
jArr = null;
if (jArr != null) {
}
c11 = tVar.c("gcm.n.light_settings");
if (c11 != null) {
}
iArr = null;
if (iArr != null) {
}
boolean a1122222222222 = tVar.a("gcm.n.default_sound");
boolean z1122222222222 = a1122222222222;
if (tVar.a("gcm.n.default_vibrate_timings")) {
}
r02 = z1122222222222;
if (tVar.a("gcm.n.default_light_settings")) {
}
Notification notification222222222222 = a1022.f7691M;
notification222222222222.defaults = r02;
if ((r02 & 4) != 0) {
}
e14 = tVar.e("gcm.n.tag");
if (TextUtils.isEmpty(e14)) {
}
String str222222222222 = e14;
if (rVar != null) {
}
Log.isLoggable("FirebaseMessaging", 3);
((NotificationManager) this.f36820b.getSystemService(NotificationAction.ACTION_TYPE_NOTIFICATION)).notify(str222222222222, 0, a1022.a());
return true;
}
}