LINE.apk(点击下载) / c.java


package ei;

import a2.l;
import a2.m;
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.ComponentName;
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.Build;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.Log;
import b2.b;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Iterator;
import java.util.List;
import java.util.Objects;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Executor;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
import java.util.concurrent.atomic.AtomicInteger;
import me.k;
import me.n;
import org.json.JSONArray;
import org.json.JSONException;
import ra.x;
import z1.b;

public class c {

    /* renamed from: a  reason: collision with root package name */
    public final Executor f68241a;

    /* renamed from: b  reason: collision with root package name */
    public final Context f68242b;

    /* renamed from: c  reason: collision with root package name */
    public final z f68243c;

    public c(Context context, z zVar, Executor executor) {
        this.f68241a = executor;
        this.f68242b = context;
        this.f68243c = zVar;
    }

    /* JADX WARNING: Code restructure failed: missing block: B:34:0x00a5, code lost:
        if (r6 != null) goto L_0x00b2;
     */
    /* JADX WARNING: Removed duplicated region for block: B:100:0x01f2  */
    /* JADX WARNING: Removed duplicated region for block: B:101:0x01f4  */
    /* JADX WARNING: Removed duplicated region for block: B:108:0x023b  */
    /* JADX WARNING: Removed duplicated region for block: B:111:0x024a  */
    /* JADX WARNING: Removed duplicated region for block: B:112:0x0258  */
    /* JADX WARNING: Removed duplicated region for block: B:124:0x0290  */
    /* JADX WARNING: Removed duplicated region for block: B:125:0x0292  */
    /* JADX WARNING: Removed duplicated region for block: B:144:0x02fa  */
    /* JADX WARNING: Removed duplicated region for block: B:145:0x02fc  */
    /* JADX WARNING: Removed duplicated region for block: B:147:0x032f  */
    /* JADX WARNING: Removed duplicated region for block: B:150:0x033f A[SYNTHETIC, Splitter:B:150:0x033f] */
    /* JADX WARNING: Removed duplicated region for block: B:156:0x035f A[SYNTHETIC, Splitter:B:156:0x035f] */
    /* JADX WARNING: Removed duplicated region for block: B:161:0x036d  */
    /* JADX WARNING: Removed duplicated region for block: B:164:0x038f  */
    /* JADX WARNING: Removed duplicated region for block: B:167:0x03a0  */
    /* JADX WARNING: Removed duplicated region for block: B:174:0x03bf  */
    /* JADX WARNING: Removed duplicated region for block: B:177:0x03ce  */
    /* JADX WARNING: Removed duplicated region for block: B:184:0x03ed  */
    /* JADX WARNING: Removed duplicated region for block: B:187:0x03fc  */
    /* JADX WARNING: Removed duplicated region for block: B:192:0x0414  */
    /* JADX WARNING: Removed duplicated region for block: B:195:0x0426 A[SYNTHETIC, Splitter:B:195:0x0426] */
    /* JADX WARNING: Removed duplicated region for block: B:201:0x044e  */
    /* JADX WARNING: Removed duplicated region for block: B:204:0x0461 A[SYNTHETIC, Splitter:B:204:0x0461] */
    /* JADX WARNING: Removed duplicated region for block: B:216:0x0493  */
    /* JADX WARNING: Removed duplicated region for block: B:219:0x04a0  */
    /* JADX WARNING: Removed duplicated region for block: B:236:0x0503  */
    /* JADX WARNING: Removed duplicated region for block: B:239:0x051a  */
    /* JADX WARNING: Removed duplicated region for block: B:242:0x0524  */
    /* JADX WARNING: Removed duplicated region for block: B:245:0x052e  */
    /* JADX WARNING: Removed duplicated region for block: B:248:0x0540  */
    /* JADX WARNING: Removed duplicated region for block: B:250:0x054f A[SYNTHETIC, Splitter:B:250:0x054f] */
    /* JADX WARNING: Removed duplicated region for block: B:28:0x007e  */
    /* JADX WARNING: Removed duplicated region for block: B:33:0x00a3 A[Catch:{ NameNotFoundException -> 0x00a8 }] */
    /* JADX WARNING: Removed duplicated region for block: B:40:0x00c5 A[SYNTHETIC, Splitter:B:40:0x00c5] */
    /* JADX WARNING: Removed duplicated region for block: B:63:0x0150  */
    /* JADX WARNING: Removed duplicated region for block: B:66:0x015f  */
    /* JADX WARNING: Removed duplicated region for block: B:71:0x017f  */
    /* JADX WARNING: Removed duplicated region for block: B:97:0x01e5  */
    public boolean a() {
        Object[] objArr;
        v vVar;
        z zVar;
        Bundle bundle;
        PackageManager packageManager;
        String d14;
        String d15;
        String e14;
        int i14;
        String e15;
        Uri uri;
        String e16;
        Intent intent;
        PendingIntent pendingIntent;
        PendingIntent pendingIntent2;
        String e17;
        Integer num;
        String e18;
        Integer b14;
        Integer b15;
        Integer b16;
        String e19;
        Long l14;
        JSONArray c14;
        long[] jArr;
        JSONArray c15;
        int[] iArr;
        String e24;
        int i15;
        String str;
        ApplicationInfo applicationInfo;
        char c16;
        if (this.f68243c.a("gcm.n.noui")) {
            return true;
        }
        if (!((KeyguardManager) this.f68242b.getSystemService("keyguard")).inKeyguardRestrictedInputMode()) {
            int myPid = Process.myPid();
            List<ActivityManager.RunningAppProcessInfo> runningAppProcesses = ((ActivityManager) this.f68242b.getSystemService("activity")).getRunningAppProcesses();
            if (runningAppProcesses != null) {
                Iterator<ActivityManager.RunningAppProcessInfo> it3 = runningAppProcesses.iterator();
                while (true) {
                    if (!it3.hasNext()) {
                        break;
                    }
                    ActivityManager.RunningAppProcessInfo next = it3.next();
                    if (next.pid == myPid) {
                        if (next.importance == 100) {
                            objArr = 1;
                        }
                    }
                }
            }
        }
        objArr = null;
        if (objArr != null) {
            return false;
        }
        String e25 = this.f68243c.e("gcm.n.image");
        if (!TextUtils.isEmpty(e25)) {
            try {
                vVar = new v(new URL(e25));
            } catch (MalformedURLException unused) {
                String valueOf = String.valueOf(e25);
                if (valueOf.length() != 0) {
                    "Not downloading image, bad URL: ".concat(valueOf);
                }
            }
            if (vVar != null) {
                vVar.f68345c = n.c(this.f68241a, new u(vVar));
            }
            Context context = this.f68242b;
            zVar = this.f68243c;
            AtomicInteger atomicInteger = a.f68236a;
            applicationInfo = context.getPackageManager().getApplicationInfo(context.getPackageName(), 128);
            if (applicationInfo != null) {
                bundle = applicationInfo.metaData;
            }
            bundle = Bundle.EMPTY;
            String packageName = context.getPackageName();
            String e26 = zVar.e("gcm.n.android_channel_id");
            if (Build.VERSION.SDK_INT >= 26) {
                try {
                    if (context.getPackageManager().getApplicationInfo(context.getPackageName(), 0).targetSdkVersion >= 26) {
                        NotificationManager notificationManager = (NotificationManager) context.getSystemService(NotificationManager.class);
                        if (!TextUtils.isEmpty(e26)) {
                            if (notificationManager.getNotificationChannel(e26) == null) {
                                new StringBuilder(String.valueOf(e26).length() + 122);
                            }
                            Resources resources = context.getResources();
                            packageManager = context.getPackageManager();
                            m mVar = new m(context, e26);
                            d14 = zVar.d(resources, packageName, "gcm.n.title");
                            if (!TextUtils.isEmpty(d14)) {
                                mVar.e(d14);
                            }
                            d15 = zVar.d(resources, packageName, "gcm.n.body");
                            if (!TextUtils.isEmpty(d15)) {
                                mVar.d(d15);
                                l lVar = new l();
                                lVar.h(d15);
                                if (mVar.f650m != lVar) {
                                    mVar.f650m = lVar;
                                    lVar.g(mVar);
                                }
                            }
                            e14 = zVar.e("gcm.n.icon");
                            if (!TextUtils.isEmpty(e14)) {
                                i14 = resources.getIdentifier(e14, "drawable", packageName);
                                if ((i14 == 0 || !a.a(resources, i14)) && ((i14 = resources.getIdentifier(e14, "mipmap", packageName)) == 0 || !a.a(resources, i14))) {
                                    new StringBuilder(String.valueOf(e14).length() + 61);
                                }
                                mVar.A.icon = i14;
                                e15 = zVar.e("gcm.n.sound2");
                                if (TextUtils.isEmpty(e15)) {
                                    e15 = zVar.e("gcm.n.sound");
                                }
                                if (!TextUtils.isEmpty(e15)) {
                                    uri = null;
                                } else if ("default".equals(e15) || resources.getIdentifier(e15, "raw", packageName) == 0) {
                                    uri = RingtoneManager.getDefaultUri(2);
                                } else {
                                    StringBuilder sb4 = new StringBuilder(String.valueOf(packageName).length() + 24 + String.valueOf(e15).length());
                                    sb4.append("android.resource://");
                                    sb4.append(packageName);
                                    sb4.append("/raw/");
                                    sb4.append(e15);
                                    uri = Uri.parse(sb4.toString());
                                }
                                if (uri != null) {
                                    mVar.i(uri);
                                }
                                e16 = zVar.e("gcm.n.click_action");
                                if (TextUtils.isEmpty(e16)) {
                                    intent = new Intent(e16);
                                    intent.setPackage(packageName);
                                    intent.setFlags(268435456);
                                } else {
                                    String e27 = zVar.e("gcm.n.link_android");
                                    if (TextUtils.isEmpty(e27)) {
                                        e27 = zVar.e("gcm.n.link");
                                    }
                                    Uri parse = !TextUtils.isEmpty(e27) ? Uri.parse(e27) : null;
                                    if (parse != null) {
                                        intent = new Intent("android.intent.action.VIEW");
                                        intent.setPackage(packageName);
                                        intent.setData(parse);
                                    } else {
                                        intent = packageManager.getLaunchIntentForPackage(packageName);
                                    }
                                }
                                if (intent != null) {
                                    pendingIntent = null;
                                } else {
                                    intent.addFlags(67108864);
                                    Bundle bundle2 = new Bundle(zVar.f68353a);
                                    for (String str2 : zVar.f68353a.keySet()) {
                                        if (((str2.startsWith("google.c.") || str2.startsWith("gcm.n.") || str2.startsWith("gcm.notification.")) ? 1 : null) != null) {
                                            bundle2.remove(str2);
                                        }
                                    }
                                    intent.putExtras(bundle2);
                                    if (zVar.a("google.c.a.e")) {
                                        intent.putExtra("gcm.n.analytics_data", zVar.g());
                                    }
                                    pendingIntent = PendingIntent.getActivity(context, a.f68236a.incrementAndGet(), intent, 1140850688);
                                }
                                mVar.f644g = pendingIntent;
                                if (zVar.a("google.c.a.e")) {
                                    pendingIntent2 = null;
                                } else {
                                    pendingIntent2 = PendingIntent.getBroadcast(context, a.f68236a.incrementAndGet(), new Intent("com.google.firebase.MESSAGING_EVENT").setComponent(new ComponentName(context, "com.google.firebase.iid.FirebaseInstanceIdReceiver")).putExtra("wrapped_intent", new Intent("com.google.firebase.messaging.NOTIFICATION_DISMISS").putExtras(zVar.g())), 1140850688);
                                }
                                if (pendingIntent2 != null) {
                                    mVar.A.deleteIntent = pendingIntent2;
                                }
                                e17 = zVar.e("gcm.n.color");
                                if (!TextUtils.isEmpty(e17)) {
                                    try {
                                        num = Integer.valueOf(Color.parseColor(e17));
                                    } catch (IllegalArgumentException unused2) {
                                        new StringBuilder(String.valueOf(e17).length() + 56);
                                    }
                                    if (num != null) {
                                        mVar.f657t = num.intValue();
                                    }
                                    mVar.f(16, !zVar.a("gcm.n.sticky"));
                                    mVar.f654q = zVar.a("gcm.n.local_only");
                                    e18 = zVar.e("gcm.n.ticker");
                                    if (e18 != null) {
                                        mVar.A.tickerText = m.c(e18);
                                    }
                                    b14 = zVar.b("gcm.n.notification_priority");
                                    if (b14 != null) {
                                        if (b14.intValue() < -2 || b14.intValue() > 2) {
                                            new StringBuilder(b14.toString().length() + 72);
                                        }
                                        if (b14 != null) {
                                            mVar.f648k = b14.intValue();
                                        }
                                        b15 = zVar.b("gcm.n.visibility");
                                        if (b15 != null) {
                                            if (b15.intValue() < -1 || b15.intValue() > 1) {
                                                new StringBuilder(b15.toString().length() + 53);
                                            }
                                            if (b15 != null) {
                                                mVar.f658u = b15.intValue();
                                            }
                                            b16 = zVar.b("gcm.n.notification_count");
                                            if (b16 != null) {
                                                if (b16.intValue() < 0) {
                                                    new StringBuilder(b16.toString().length() + 67);
                                                }
                                                if (b16 != null) {
                                                    mVar.f647j = b16.intValue();
                                                }
                                                e19 = zVar.e("gcm.n.event_time");
                                                if (!TextUtils.isEmpty(e19)) {
                                                    try {
                                                        l14 = Long.valueOf(Long.parseLong(e19));
                                                    } catch (NumberFormatException unused3) {
                                                        new StringBuilder(String.valueOf(z.h("gcm.n.event_time")).length() + 38 + String.valueOf(e19).length());
                                                    }
                                                    if (l14 != null) {
                                                        mVar.f649l = true;
                                                        mVar.A.when = l14.longValue();
                                                    }
                                                    c14 = zVar.c("gcm.n.vibrate_timings");
                                                    if (c14 != null) {
                                                        try {
                                                            if (c14.length() > 1) {
                                                                int length = c14.length();
                                                                jArr = new long[length];
                                                                for (int i16 = 0; i16 < length; i16++) {
                                                                    jArr[i16] = c14.optLong(i16);
                                                                }
                                                                if (jArr != null) {
                                                                    mVar.A.vibrate = jArr;
                                                                }
                                                                c15 = zVar.c("gcm.n.light_settings");
                                                                if (c15 != null) {
                                                                    iArr = new int[3];
                                                                    try {
                                                                        if (c15.length() == 3) {
                                                                            int parseColor = Color.parseColor(c15.optString(0));
                                                                            if (parseColor != -16777216) {
                                                                                iArr[0] = parseColor;
                                                                                iArr[1] = c15.optInt(1);
                                                                                iArr[2] = c15.optInt(2);
                                                                                if (iArr != null) {
                                                                                    mVar.h(iArr[0], iArr[1], iArr[2]);
                                                                                }
                                                                                boolean a14 = zVar.a("gcm.n.default_sound");
                                                                                if (zVar.a("gcm.n.default_vibrate_timings")) {
                                                                                    a14 |= true;
                                                                                }
                                                                                if (zVar.a("gcm.n.default_light_settings")) {
                                                                                    boolean z14 = a14 ? 1 : 0;
                                                                                    char c17 = a14 ? 1 : 0;
                                                                                    a14 = z14 | true;
                                                                                }
                                                                                Notification notification = mVar.A;
                                                                                int i17 = a14 ? 1 : 0;
                                                                                int i18 = a14 ? 1 : 0;
                                                                                int i19 = a14 ? 1 : 0;
                                                                                int i24 = a14 ? 1 : 0;
                                                                                notification.defaults = i17;
                                                                                c16 = a14 ? 1 : 0;
                                                                                char c18 = a14 ? 1 : 0;
                                                                                if (c16 == true && 4 == true) {
                                                                                    notification.flags |= 1;
                                                                                }
                                                                                e24 = zVar.e("gcm.n.tag");
                                                                                if (TextUtils.isEmpty(e24)) {
                                                                                    e24 = x.a(37, "FCM-Notification:", SystemClock.uptimeMillis());
                                                                                }
                                                                                if (vVar != null) {
                                                                                    try {
                                                                                        k<Bitmap> kVar = vVar.f68345c;
                                                                                        Objects.requireNonNull(kVar, "null reference");
                                                                                        Bitmap bitmap = (Bitmap) n.b(kVar, 5, TimeUnit.SECONDS);
                                                                                        mVar.g(bitmap);
                                                                                        a2.k kVar2 = new a2.k();
                                                                                        kVar2.f633e = bitmap;
                                                                                        kVar2.f634f = null;
                                                                                        kVar2.f635g = true;
                                                                                        if (mVar.f650m != kVar2) {
                                                                                            mVar.f650m = kVar2;
                                                                                            kVar2.g(mVar);
                                                                                        }
                                                                                    } catch (ExecutionException e28) {
                                                                                        "Failed to download image: ".concat(String.valueOf(e28.getCause()));
                                                                                    } catch (InterruptedException unused4) {
                                                                                        vVar.close();
                                                                                        Thread.currentThread().interrupt();
                                                                                    } catch (TimeoutException unused5) {
                                                                                        vVar.close();
                                                                                    }
                                                                                }
                                                                                Log.isLoggable("FirebaseMessaging", 3);
                                                                                ((NotificationManager) this.f68242b.getSystemService("notification")).notify(e24, 0, mVar.a());
                                                                                return true;
                                                                            }
                                                                            throw new IllegalArgumentException("Transparent color is invalid");
                                                                        }
                                                                        throw new JSONException("lightSettings don't have all three fields");
                                                                    } catch (JSONException unused6) {
                                                                        new StringBuilder(c15.toString().length() + 58);
                                                                    } catch (IllegalArgumentException e29) {
                                                                        new StringBuilder(b.a(c15.toString(), 60, String.valueOf(e29.getMessage()).length()));
                                                                    }
                                                                }
                                                                iArr = null;
                                                                if (iArr != null) {
                                                                }
                                                                boolean a142 = zVar.a("gcm.n.default_sound");
                                                                if (zVar.a("gcm.n.default_vibrate_timings")) {
                                                                }
                                                                if (zVar.a("gcm.n.default_light_settings")) {
                                                                }
                                                                Notification notification2 = mVar.A;
                                                                int i172 = a142 ? 1 : 0;
                                                                int i182 = a142 ? 1 : 0;
                                                                int i192 = a142 ? 1 : 0;
                                                                int i242 = a142 ? 1 : 0;
                                                                notification2.defaults = i172;
                                                                c16 = a142 ? 1 : 0;
                                                                char c182 = a142 ? 1 : 0;
                                                                if (c16 == true && 4 == true) {
                                                                }
                                                                e24 = zVar.e("gcm.n.tag");
                                                                if (TextUtils.isEmpty(e24)) {
                                                                }
                                                                if (vVar != null) {
                                                                }
                                                                Log.isLoggable("FirebaseMessaging", 3);
                                                                ((NotificationManager) this.f68242b.getSystemService("notification")).notify(e24, 0, mVar.a());
                                                                return true;
                                                            }
                                                            throw new JSONException("vibrateTimings have invalid length");
                                                        } catch (NumberFormatException | JSONException unused7) {
                                                            new StringBuilder(c14.toString().length() + 74);
                                                        }
                                                    }
                                                    jArr = null;
                                                    if (jArr != null) {
                                                    }
                                                    c15 = zVar.c("gcm.n.light_settings");
                                                    if (c15 != null) {
                                                    }
                                                    iArr = null;
                                                    if (iArr != null) {
                                                    }
                                                    boolean a1422 = zVar.a("gcm.n.default_sound");
                                                    if (zVar.a("gcm.n.default_vibrate_timings")) {
                                                    }
                                                    if (zVar.a("gcm.n.default_light_settings")) {
                                                    }
                                                    Notification notification22 = mVar.A;
                                                    int i1722 = a1422 ? 1 : 0;
                                                    int i1822 = a1422 ? 1 : 0;
                                                    int i1922 = a1422 ? 1 : 0;
                                                    int i2422 = a1422 ? 1 : 0;
                                                    notification22.defaults = i1722;
                                                    c16 = a1422 ? 1 : 0;
                                                    char c1822 = a1422 ? 1 : 0;
                                                    if (c16 == true && 4 == true) {
                                                    }
                                                    e24 = zVar.e("gcm.n.tag");
                                                    if (TextUtils.isEmpty(e24)) {
                                                    }
                                                    if (vVar != null) {
                                                    }
                                                    Log.isLoggable("FirebaseMessaging", 3);
                                                    ((NotificationManager) this.f68242b.getSystemService("notification")).notify(e24, 0, mVar.a());
                                                    return true;
                                                }
                                                l14 = null;
                                                if (l14 != null) {
                                                }
                                                c14 = zVar.c("gcm.n.vibrate_timings");
                                                if (c14 != null) {
                                                }
                                                jArr = null;
                                                if (jArr != null) {
                                                }
                                                c15 = zVar.c("gcm.n.light_settings");
                                                if (c15 != null) {
                                                }
                                                iArr = null;
                                                if (iArr != null) {
                                                }
                                                boolean a14222 = zVar.a("gcm.n.default_sound");
                                                if (zVar.a("gcm.n.default_vibrate_timings")) {
                                                }
                                                if (zVar.a("gcm.n.default_light_settings")) {
                                                }
                                                Notification notification222 = mVar.A;
                                                int i17222 = a14222 ? 1 : 0;
                                                int i18222 = a14222 ? 1 : 0;
                                                int i19222 = a14222 ? 1 : 0;
                                                int i24222 = a14222 ? 1 : 0;
                                                notification222.defaults = i17222;
                                                c16 = a14222 ? 1 : 0;
                                                char c18222 = a14222 ? 1 : 0;
                                                if (c16 == true && 4 == true) {
                                                }
                                                e24 = zVar.e("gcm.n.tag");
                                                if (TextUtils.isEmpty(e24)) {
                                                }
                                                if (vVar != null) {
                                                }
                                                Log.isLoggable("FirebaseMessaging", 3);
                                                ((NotificationManager) this.f68242b.getSystemService("notification")).notify(e24, 0, mVar.a());
                                                return true;
                                            }
                                            b16 = null;
                                            if (b16 != null) {
                                            }
                                            e19 = zVar.e("gcm.n.event_time");
                                            if (!TextUtils.isEmpty(e19)) {
                                            }
                                            l14 = null;
                                            if (l14 != null) {
                                            }
                                            c14 = zVar.c("gcm.n.vibrate_timings");
                                            if (c14 != null) {
                                            }
                                            jArr = null;
                                            if (jArr != null) {
                                            }
                                            c15 = zVar.c("gcm.n.light_settings");
                                            if (c15 != null) {
                                            }
                                            iArr = null;
                                            if (iArr != null) {
                                            }
                                            boolean a142222 = zVar.a("gcm.n.default_sound");
                                            if (zVar.a("gcm.n.default_vibrate_timings")) {
                                            }
                                            if (zVar.a("gcm.n.default_light_settings")) {
                                            }
                                            Notification notification2222 = mVar.A;
                                            int i172222 = a142222 ? 1 : 0;
                                            int i182222 = a142222 ? 1 : 0;
                                            int i192222 = a142222 ? 1 : 0;
                                            int i242222 = a142222 ? 1 : 0;
                                            notification2222.defaults = i172222;
                                            c16 = a142222 ? 1 : 0;
                                            char c182222 = a142222 ? 1 : 0;
                                            if (c16 == true && 4 == true) {
                                            }
                                            e24 = zVar.e("gcm.n.tag");
                                            if (TextUtils.isEmpty(e24)) {
                                            }
                                            if (vVar != null) {
                                            }
                                            Log.isLoggable("FirebaseMessaging", 3);
                                            ((NotificationManager) this.f68242b.getSystemService("notification")).notify(e24, 0, mVar.a());
                                            return true;
                                        }
                                        b15 = null;
                                        if (b15 != null) {
                                        }
                                        b16 = zVar.b("gcm.n.notification_count");
                                        if (b16 != null) {
                                        }
                                        b16 = null;
                                        if (b16 != null) {
                                        }
                                        e19 = zVar.e("gcm.n.event_time");
                                        if (!TextUtils.isEmpty(e19)) {
                                        }
                                        l14 = null;
                                        if (l14 != null) {
                                        }
                                        c14 = zVar.c("gcm.n.vibrate_timings");
                                        if (c14 != null) {
                                        }
                                        jArr = null;
                                        if (jArr != null) {
                                        }
                                        c15 = zVar.c("gcm.n.light_settings");
                                        if (c15 != null) {
                                        }
                                        iArr = null;
                                        if (iArr != null) {
                                        }
                                        boolean a1422222 = zVar.a("gcm.n.default_sound");
                                        if (zVar.a("gcm.n.default_vibrate_timings")) {
                                        }
                                        if (zVar.a("gcm.n.default_light_settings")) {
                                        }
                                        Notification notification22222 = mVar.A;
                                        int i1722222 = a1422222 ? 1 : 0;
                                        int i1822222 = a1422222 ? 1 : 0;
                                        int i1922222 = a1422222 ? 1 : 0;
                                        int i2422222 = a1422222 ? 1 : 0;
                                        notification22222.defaults = i1722222;
                                        c16 = a1422222 ? 1 : 0;
                                        char c1822222 = a1422222 ? 1 : 0;
                                        if (c16 == true && 4 == true) {
                                        }
                                        e24 = zVar.e("gcm.n.tag");
                                        if (TextUtils.isEmpty(e24)) {
                                        }
                                        if (vVar != null) {
                                        }
                                        Log.isLoggable("FirebaseMessaging", 3);
                                        ((NotificationManager) this.f68242b.getSystemService("notification")).notify(e24, 0, mVar.a());
                                        return true;
                                    }
                                    b14 = null;
                                    if (b14 != null) {
                                    }
                                    b15 = zVar.b("gcm.n.visibility");
                                    if (b15 != null) {
                                    }
                                    b15 = null;
                                    if (b15 != null) {
                                    }
                                    b16 = zVar.b("gcm.n.notification_count");
                                    if (b16 != null) {
                                    }
                                    b16 = null;
                                    if (b16 != null) {
                                    }
                                    e19 = zVar.e("gcm.n.event_time");
                                    if (!TextUtils.isEmpty(e19)) {
                                    }
                                    l14 = null;
                                    if (l14 != null) {
                                    }
                                    c14 = zVar.c("gcm.n.vibrate_timings");
                                    if (c14 != null) {
                                    }
                                    jArr = null;
                                    if (jArr != null) {
                                    }
                                    c15 = zVar.c("gcm.n.light_settings");
                                    if (c15 != null) {
                                    }
                                    iArr = null;
                                    if (iArr != null) {
                                    }
                                    boolean a14222222 = zVar.a("gcm.n.default_sound");
                                    if (zVar.a("gcm.n.default_vibrate_timings")) {
                                    }
                                    if (zVar.a("gcm.n.default_light_settings")) {
                                    }
                                    Notification notification222222 = mVar.A;
                                    int i17222222 = a14222222 ? 1 : 0;
                                    int i18222222 = a14222222 ? 1 : 0;
                                    int i19222222 = a14222222 ? 1 : 0;
                                    int i24222222 = a14222222 ? 1 : 0;
                                    notification222222.defaults = i17222222;
                                    c16 = a14222222 ? 1 : 0;
                                    char c18222222 = a14222222 ? 1 : 0;
                                    if (c16 == true && 4 == true) {
                                    }
                                    e24 = zVar.e("gcm.n.tag");
                                    if (TextUtils.isEmpty(e24)) {
                                    }
                                    if (vVar != null) {
                                    }
                                    Log.isLoggable("FirebaseMessaging", 3);
                                    ((NotificationManager) this.f68242b.getSystemService("notification")).notify(e24, 0, mVar.a());
                                    return true;
                                }
                                i15 = bundle.getInt("com.google.firebase.messaging.default_notification_color", 0);
                                if (i15 != 0) {
                                    try {
                                        Object obj = b2.b.f10850a;
                                        num = Integer.valueOf(b.d.a(context, i15));
                                    } catch (Resources.NotFoundException unused8) {
                                    }
                                    if (num != null) {
                                    }
                                    mVar.f(16, !zVar.a("gcm.n.sticky"));
                                    mVar.f654q = zVar.a("gcm.n.local_only");
                                    e18 = zVar.e("gcm.n.ticker");
                                    if (e18 != null) {
                                    }
                                    b14 = zVar.b("gcm.n.notification_priority");
                                    if (b14 != null) {
                                    }
                                    b14 = null;
                                    if (b14 != null) {
                                    }
                                    b15 = zVar.b("gcm.n.visibility");
                                    if (b15 != null) {
                                    }
                                    b15 = null;
                                    if (b15 != null) {
                                    }
                                    b16 = zVar.b("gcm.n.notification_count");
                                    if (b16 != null) {
                                    }
                                    b16 = null;
                                    if (b16 != null) {
                                    }
                                    e19 = zVar.e("gcm.n.event_time");
                                    if (!TextUtils.isEmpty(e19)) {
                                    }
                                    l14 = null;
                                    if (l14 != null) {
                                    }
                                    c14 = zVar.c("gcm.n.vibrate_timings");
                                    if (c14 != null) {
                                    }
                                    jArr = null;
                                    if (jArr != null) {
                                    }
                                    c15 = zVar.c("gcm.n.light_settings");
                                    if (c15 != null) {
                                    }
                                    iArr = null;
                                    if (iArr != null) {
                                    }
                                    boolean a142222222 = zVar.a("gcm.n.default_sound");
                                    if (zVar.a("gcm.n.default_vibrate_timings")) {
                                    }
                                    if (zVar.a("gcm.n.default_light_settings")) {
                                    }
                                    Notification notification2222222 = mVar.A;
                                    int i172222222 = a142222222 ? 1 : 0;
                                    int i182222222 = a142222222 ? 1 : 0;
                                    int i192222222 = a142222222 ? 1 : 0;
                                    int i242222222 = a142222222 ? 1 : 0;
                                    notification2222222.defaults = i172222222;
                                    c16 = a142222222 ? 1 : 0;
                                    char c182222222 = a142222222 ? 1 : 0;
                                    if (c16 == true && 4 == true) {
                                    }
                                    e24 = zVar.e("gcm.n.tag");
                                    if (TextUtils.isEmpty(e24)) {
                                    }
                                    if (vVar != null) {
                                    }
                                    Log.isLoggable("FirebaseMessaging", 3);
                                    ((NotificationManager) this.f68242b.getSystemService("notification")).notify(e24, 0, mVar.a());
                                    return true;
                                }
                                num = null;
                                if (num != null) {
                                }
                                mVar.f(16, !zVar.a("gcm.n.sticky"));
                                mVar.f654q = zVar.a("gcm.n.local_only");
                                e18 = zVar.e("gcm.n.ticker");
                                if (e18 != null) {
                                }
                                b14 = zVar.b("gcm.n.notification_priority");
                                if (b14 != null) {
                                }
                                b14 = null;
                                if (b14 != null) {
                                }
                                b15 = zVar.b("gcm.n.visibility");
                                if (b15 != null) {
                                }
                                b15 = null;
                                if (b15 != null) {
                                }
                                b16 = zVar.b("gcm.n.notification_count");
                                if (b16 != null) {
                                }
                                b16 = null;
                                if (b16 != null) {
                                }
                                e19 = zVar.e("gcm.n.event_time");
                                if (!TextUtils.isEmpty(e19)) {
                                }
                                l14 = null;
                                if (l14 != null) {
                                }
                                c14 = zVar.c("gcm.n.vibrate_timings");
                                if (c14 != null) {
                                }
                                jArr = null;
                                if (jArr != null) {
                                }
                                c15 = zVar.c("gcm.n.light_settings");
                                if (c15 != null) {
                                }
                                iArr = null;
                                if (iArr != null) {
                                }
                                boolean a1422222222 = zVar.a("gcm.n.default_sound");
                                if (zVar.a("gcm.n.default_vibrate_timings")) {
                                }
                                if (zVar.a("gcm.n.default_light_settings")) {
                                }
                                Notification notification22222222 = mVar.A;
                                int i1722222222 = a1422222222 ? 1 : 0;
                                int i1822222222 = a1422222222 ? 1 : 0;
                                int i1922222222 = a1422222222 ? 1 : 0;
                                int i2422222222 = a1422222222 ? 1 : 0;
                                notification22222222.defaults = i1722222222;
                                c16 = a1422222222 ? 1 : 0;
                                char c1822222222 = a1422222222 ? 1 : 0;
                                if (c16 == true && 4 == true) {
                                }
                                e24 = zVar.e("gcm.n.tag");
                                if (TextUtils.isEmpty(e24)) {
                                }
                                if (vVar != null) {
                                }
                                Log.isLoggable("FirebaseMessaging", 3);
                                ((NotificationManager) this.f68242b.getSystemService("notification")).notify(e24, 0, mVar.a());
                                return true;
                            }
                            int i25 = bundle.getInt("com.google.firebase.messaging.default_notification_icon", 0);
                            if (i25 == 0 || !a.a(resources, i25)) {
                                i14 = packageManager.getApplicationInfo(packageName, 0).icon;
                                if (i14 == 0 || !a.a(resources, i14)) {
                                    i14 = 17301651;
                                }
                                mVar.A.icon = i14;
                                e15 = zVar.e("gcm.n.sound2");
                                if (TextUtils.isEmpty(e15)) {
                                }
                                if (!TextUtils.isEmpty(e15)) {
                                }
                                if (uri != null) {
                                }
                                e16 = zVar.e("gcm.n.click_action");
                                if (TextUtils.isEmpty(e16)) {
                                }
                                if (intent != null) {
                                }
                                mVar.f644g = pendingIntent;
                                if (zVar.a("google.c.a.e")) {
                                }
                                if (pendingIntent2 != null) {
                                }
                                e17 = zVar.e("gcm.n.color");
                                if (!TextUtils.isEmpty(e17)) {
                                }
                                i15 = bundle.getInt("com.google.firebase.messaging.default_notification_color", 0);
                                if (i15 != 0) {
                                }
                                num = null;
                                if (num != null) {
                                }
                                mVar.f(16, !zVar.a("gcm.n.sticky"));
                                mVar.f654q = zVar.a("gcm.n.local_only");
                                e18 = zVar.e("gcm.n.ticker");
                                if (e18 != null) {
                                }
                                b14 = zVar.b("gcm.n.notification_priority");
                                if (b14 != null) {
                                }
                                b14 = null;
                                if (b14 != null) {
                                }
                                b15 = zVar.b("gcm.n.visibility");
                                if (b15 != null) {
                                }
                                b15 = null;
                                if (b15 != null) {
                                }
                                b16 = zVar.b("gcm.n.notification_count");
                                if (b16 != null) {
                                }
                                b16 = null;
                                if (b16 != null) {
                                }
                                e19 = zVar.e("gcm.n.event_time");
                                if (!TextUtils.isEmpty(e19)) {
                                }
                                l14 = null;
                                if (l14 != null) {
                                }
                                c14 = zVar.c("gcm.n.vibrate_timings");
                                if (c14 != null) {
                                }
                                jArr = null;
                                if (jArr != null) {
                                }
                                c15 = zVar.c("gcm.n.light_settings");
                                if (c15 != null) {
                                }
                                iArr = null;
                                if (iArr != null) {
                                }
                                boolean a14222222222 = zVar.a("gcm.n.default_sound");
                                if (zVar.a("gcm.n.default_vibrate_timings")) {
                                }
                                if (zVar.a("gcm.n.default_light_settings")) {
                                }
                                Notification notification222222222 = mVar.A;
                                int i17222222222 = a14222222222 ? 1 : 0;
                                int i18222222222 = a14222222222 ? 1 : 0;
                                int i19222222222 = a14222222222 ? 1 : 0;
                                int i24222222222 = a14222222222 ? 1 : 0;
                                notification222222222.defaults = i17222222222;
                                c16 = a14222222222 ? 1 : 0;
                                char c18222222222 = a14222222222 ? 1 : 0;
                                if (c16 == true && 4 == true) {
                                }
                                e24 = zVar.e("gcm.n.tag");
                                if (TextUtils.isEmpty(e24)) {
                                }
                                if (vVar != null) {
                                }
                                Log.isLoggable("FirebaseMessaging", 3);
                                ((NotificationManager) this.f68242b.getSystemService("notification")).notify(e24, 0, mVar.a());
                                return true;
                            }
                            i14 = i25;
                            i14 = 17301651;
                            mVar.A.icon = i14;
                            e15 = zVar.e("gcm.n.sound2");
                            if (TextUtils.isEmpty(e15)) {
                            }
                            if (!TextUtils.isEmpty(e15)) {
                            }
                            if (uri != null) {
                            }
                            e16 = zVar.e("gcm.n.click_action");
                            if (TextUtils.isEmpty(e16)) {
                            }
                            if (intent != null) {
                            }
                            mVar.f644g = pendingIntent;
                            if (zVar.a("google.c.a.e")) {
                            }
                            if (pendingIntent2 != null) {
                            }
                            e17 = zVar.e("gcm.n.color");
                            if (!TextUtils.isEmpty(e17)) {
                            }
                            i15 = bundle.getInt("com.google.firebase.messaging.default_notification_color", 0);
                            if (i15 != 0) {
                            }
                            num = null;
                            if (num != null) {
                            }
                            mVar.f(16, !zVar.a("gcm.n.sticky"));
                            mVar.f654q = zVar.a("gcm.n.local_only");
                            e18 = zVar.e("gcm.n.ticker");
                            if (e18 != null) {
                            }
                            b14 = zVar.b("gcm.n.notification_priority");
                            if (b14 != null) {
                            }
                            b14 = null;
                            if (b14 != null) {
                            }
                            b15 = zVar.b("gcm.n.visibility");
                            if (b15 != null) {
                            }
                            b15 = null;
                            if (b15 != null) {
                            }
                            b16 = zVar.b("gcm.n.notification_count");
                            if (b16 != null) {
                            }
                            b16 = null;
                            if (b16 != null) {
                            }
                            e19 = zVar.e("gcm.n.event_time");
                            if (!TextUtils.isEmpty(e19)) {
                            }
                            l14 = null;
                            if (l14 != null) {
                            }
                            c14 = zVar.c("gcm.n.vibrate_timings");
                            if (c14 != null) {
                            }
                            jArr = null;
                            if (jArr != null) {
                            }
                            c15 = zVar.c("gcm.n.light_settings");
                            if (c15 != null) {
                            }
                            iArr = null;
                            if (iArr != null) {
                            }
                            boolean a142222222222 = zVar.a("gcm.n.default_sound");
                            if (zVar.a("gcm.n.default_vibrate_timings")) {
                            }
                            if (zVar.a("gcm.n.default_light_settings")) {
                            }
                            Notification notification2222222222 = mVar.A;
                            int i172222222222 = a142222222222 ? 1 : 0;
                            int i182222222222 = a142222222222 ? 1 : 0;
                            int i192222222222 = a142222222222 ? 1 : 0;
                            int i242222222222 = a142222222222 ? 1 : 0;
                            notification2222222222.defaults = i172222222222;
                            c16 = a142222222222 ? 1 : 0;
                            char c182222222222 = a142222222222 ? 1 : 0;
                            if (c16 == true && 4 == true) {
                            }
                            e24 = zVar.e("gcm.n.tag");
                            if (TextUtils.isEmpty(e24)) {
                            }
                            if (vVar != null) {
                            }
                            Log.isLoggable("FirebaseMessaging", 3);
                            ((NotificationManager) this.f68242b.getSystemService("notification")).notify(e24, 0, mVar.a());
                            return true;
                        }
                        e26 = bundle.getString("com.google.firebase.messaging.default_notification_channel_id");
                        if (TextUtils.isEmpty(e26) || notificationManager.getNotificationChannel(e26) == null) {
                            e26 = "fcm_fallback_notification_channel";
                            if (notificationManager.getNotificationChannel(e26) == null) {
                                int identifier = context.getResources().getIdentifier("fcm_fallback_notification_channel_label", "string", context.getPackageName());
                                if (identifier == 0) {
                                    str = "Misc";
                                } else {
                                    str = context.getString(identifier);
                                }
                                notificationManager.createNotificationChannel(new NotificationChannel(e26, str, 3));
                            }
                        }
                        Resources resources2 = context.getResources();
                        packageManager = context.getPackageManager();
                        m mVar2 = new m(context, e26);
                        d14 = zVar.d(resources2, packageName, "gcm.n.title");
                        if (!TextUtils.isEmpty(d14)) {
                        }
                        d15 = zVar.d(resources2, packageName, "gcm.n.body");
                        if (!TextUtils.isEmpty(d15)) {
                        }
                        e14 = zVar.e("gcm.n.icon");
                        if (!TextUtils.isEmpty(e14)) {
                        }
                        int i252 = bundle.getInt("com.google.firebase.messaging.default_notification_icon", 0);
                        i14 = packageManager.getApplicationInfo(packageName, 0).icon;
                        i14 = 17301651;
                        mVar2.A.icon = i14;
                        e15 = zVar.e("gcm.n.sound2");
                        if (TextUtils.isEmpty(e15)) {
                        }
                        if (!TextUtils.isEmpty(e15)) {
                        }
                        if (uri != null) {
                        }
                        e16 = zVar.e("gcm.n.click_action");
                        if (TextUtils.isEmpty(e16)) {
                        }
                        if (intent != null) {
                        }
                        mVar2.f644g = pendingIntent;
                        if (zVar.a("google.c.a.e")) {
                        }
                        if (pendingIntent2 != null) {
                        }
                        e17 = zVar.e("gcm.n.color");
                        if (!TextUtils.isEmpty(e17)) {
                        }
                        i15 = bundle.getInt("com.google.firebase.messaging.default_notification_color", 0);
                        if (i15 != 0) {
                        }
                        num = null;
                        if (num != null) {
                        }
                        mVar2.f(16, !zVar.a("gcm.n.sticky"));
                        mVar2.f654q = zVar.a("gcm.n.local_only");
                        e18 = zVar.e("gcm.n.ticker");
                        if (e18 != null) {
                        }
                        b14 = zVar.b("gcm.n.notification_priority");
                        if (b14 != null) {
                        }
                        b14 = null;
                        if (b14 != null) {
                        }
                        b15 = zVar.b("gcm.n.visibility");
                        if (b15 != null) {
                        }
                        b15 = null;
                        if (b15 != null) {
                        }
                        b16 = zVar.b("gcm.n.notification_count");
                        if (b16 != null) {
                        }
                        b16 = null;
                        if (b16 != null) {
                        }
                        e19 = zVar.e("gcm.n.event_time");
                        if (!TextUtils.isEmpty(e19)) {
                        }
                        l14 = null;
                        if (l14 != null) {
                        }
                        c14 = zVar.c("gcm.n.vibrate_timings");
                        if (c14 != null) {
                        }
                        jArr = null;
                        if (jArr != null) {
                        }
                        c15 = zVar.c("gcm.n.light_settings");
                        if (c15 != null) {
                        }
                        iArr = null;
                        if (iArr != null) {
                        }
                        boolean a1422222222222 = zVar.a("gcm.n.default_sound");
                        if (zVar.a("gcm.n.default_vibrate_timings")) {
                        }
                        if (zVar.a("gcm.n.default_light_settings")) {
                        }
                        Notification notification22222222222 = mVar2.A;
                        int i1722222222222 = a1422222222222 ? 1 : 0;
                        int i1822222222222 = a1422222222222 ? 1 : 0;
                        int i1922222222222 = a1422222222222 ? 1 : 0;
                        int i2422222222222 = a1422222222222 ? 1 : 0;
                        notification22222222222.defaults = i1722222222222;
                        c16 = a1422222222222 ? 1 : 0;
                        char c1822222222222 = a1422222222222 ? 1 : 0;
                        if (c16 == true && 4 == true) {
                        }
                        e24 = zVar.e("gcm.n.tag");
                        if (TextUtils.isEmpty(e24)) {
                        }
                        if (vVar != null) {
                        }
                        Log.isLoggable("FirebaseMessaging", 3);
                        ((NotificationManager) this.f68242b.getSystemService("notification")).notify(e24, 0, mVar2.a());
                        return true;
                    }
                } catch (PackageManager.NameNotFoundException unused9) {
                }
            }
            e26 = null;
            Resources resources22 = context.getResources();
            packageManager = context.getPackageManager();
            m mVar22 = new m(context, e26);
            d14 = zVar.d(resources22, packageName, "gcm.n.title");
            if (!TextUtils.isEmpty(d14)) {
            }
            d15 = zVar.d(resources22, packageName, "gcm.n.body");
            if (!TextUtils.isEmpty(d15)) {
            }
            e14 = zVar.e("gcm.n.icon");
            if (!TextUtils.isEmpty(e14)) {
            }
            int i2522 = bundle.getInt("com.google.firebase.messaging.default_notification_icon", 0);
            i14 = packageManager.getApplicationInfo(packageName, 0).icon;
            i14 = 17301651;
            mVar22.A.icon = i14;
            e15 = zVar.e("gcm.n.sound2");
            if (TextUtils.isEmpty(e15)) {
            }
            if (!TextUtils.isEmpty(e15)) {
            }
            if (uri != null) {
            }
            e16 = zVar.e("gcm.n.click_action");
            if (TextUtils.isEmpty(e16)) {
            }
            if (intent != null) {
            }
            mVar22.f644g = pendingIntent;
            if (zVar.a("google.c.a.e")) {
            }
            if (pendingIntent2 != null) {
            }
            e17 = zVar.e("gcm.n.color");
            if (!TextUtils.isEmpty(e17)) {
            }
            i15 = bundle.getInt("com.google.firebase.messaging.default_notification_color", 0);
            if (i15 != 0) {
            }
            num = null;
            if (num != null) {
            }
            mVar22.f(16, !zVar.a("gcm.n.sticky"));
            mVar22.f654q = zVar.a("gcm.n.local_only");
            e18 = zVar.e("gcm.n.ticker");
            if (e18 != null) {
            }
            b14 = zVar.b("gcm.n.notification_priority");
            if (b14 != null) {
            }
            b14 = null;
            if (b14 != null) {
            }
            b15 = zVar.b("gcm.n.visibility");
            if (b15 != null) {
            }
            b15 = null;
            if (b15 != null) {
            }
            b16 = zVar.b("gcm.n.notification_count");
            if (b16 != null) {
            }
            b16 = null;
            if (b16 != null) {
            }
            e19 = zVar.e("gcm.n.event_time");
            if (!TextUtils.isEmpty(e19)) {
            }
            l14 = null;
            if (l14 != null) {
            }
            c14 = zVar.c("gcm.n.vibrate_timings");
            if (c14 != null) {
            }
            jArr = null;
            if (jArr != null) {
            }
            c15 = zVar.c("gcm.n.light_settings");
            if (c15 != null) {
            }
            iArr = null;
            if (iArr != null) {
            }
            boolean a14222222222222 = zVar.a("gcm.n.default_sound");
            if (zVar.a("gcm.n.default_vibrate_timings")) {
            }
            if (zVar.a("gcm.n.default_light_settings")) {
            }
            Notification notification222222222222 = mVar22.A;
            int i17222222222222 = a14222222222222 ? 1 : 0;
            int i18222222222222 = a14222222222222 ? 1 : 0;
            int i19222222222222 = a14222222222222 ? 1 : 0;
            int i24222222222222 = a14222222222222 ? 1 : 0;
            notification222222222222.defaults = i17222222222222;
            c16 = a14222222222222 ? 1 : 0;
            char c18222222222222 = a14222222222222 ? 1 : 0;
            if (c16 == true && 4 == true) {
            }
            e24 = zVar.e("gcm.n.tag");
            if (TextUtils.isEmpty(e24)) {
            }
            if (vVar != null) {
            }
            Log.isLoggable("FirebaseMessaging", 3);
            ((NotificationManager) this.f68242b.getSystemService("notification")).notify(e24, 0, mVar22.a());
            return true;
        }
        vVar = null;
        if (vVar != null) {
        }
        Context context2 = this.f68242b;
        zVar = this.f68243c;
        AtomicInteger atomicInteger2 = a.f68236a;
        try {
            applicationInfo = context2.getPackageManager().getApplicationInfo(context2.getPackageName(), 128);
            if (applicationInfo != null) {
            }
        } catch (PackageManager.NameNotFoundException e34) {
            "Couldn't get own application info: ".concat(e34.toString());
        }
        bundle = Bundle.EMPTY;
        String packageName2 = context2.getPackageName();
        String e262 = zVar.e("gcm.n.android_channel_id");
        if (Build.VERSION.SDK_INT >= 26) {
        }
        e262 = null;
        Resources resources222 = context2.getResources();
        packageManager = context2.getPackageManager();
        m mVar222 = new m(context2, e262);
        d14 = zVar.d(resources222, packageName2, "gcm.n.title");
        if (!TextUtils.isEmpty(d14)) {
        }
        d15 = zVar.d(resources222, packageName2, "gcm.n.body");
        if (!TextUtils.isEmpty(d15)) {
        }
        e14 = zVar.e("gcm.n.icon");
        if (!TextUtils.isEmpty(e14)) {
        }
        int i25222 = bundle.getInt("com.google.firebase.messaging.default_notification_icon", 0);
        try {
            i14 = packageManager.getApplicationInfo(packageName2, 0).icon;
        } catch (PackageManager.NameNotFoundException e35) {
            "Couldn't get own application info: ".concat(e35.toString());
        }
        i14 = 17301651;
        mVar222.A.icon = i14;
        e15 = zVar.e("gcm.n.sound2");
        if (TextUtils.isEmpty(e15)) {
        }
        if (!TextUtils.isEmpty(e15)) {
        }
        if (uri != null) {
        }
        e16 = zVar.e("gcm.n.click_action");
        if (TextUtils.isEmpty(e16)) {
        }
        if (intent != null) {
        }
        mVar222.f644g = pendingIntent;
        if (zVar.a("google.c.a.e")) {
        }
        if (pendingIntent2 != null) {
        }
        e17 = zVar.e("gcm.n.color");
        if (!TextUtils.isEmpty(e17)) {
        }
        i15 = bundle.getInt("com.google.firebase.messaging.default_notification_color", 0);
        if (i15 != 0) {
        }
        num = null;
        if (num != null) {
        }
        mVar222.f(16, !zVar.a("gcm.n.sticky"));
        mVar222.f654q = zVar.a("gcm.n.local_only");
        e18 = zVar.e("gcm.n.ticker");
        if (e18 != null) {
        }
        b14 = zVar.b("gcm.n.notification_priority");
        if (b14 != null) {
        }
        b14 = null;
        if (b14 != null) {
        }
        b15 = zVar.b("gcm.n.visibility");
        if (b15 != null) {
        }
        b15 = null;
        if (b15 != null) {
        }
        b16 = zVar.b("gcm.n.notification_count");
        if (b16 != null) {
        }
        b16 = null;
        if (b16 != null) {
        }
        e19 = zVar.e("gcm.n.event_time");
        if (!TextUtils.isEmpty(e19)) {
        }
        l14 = null;
        if (l14 != null) {
        }
        c14 = zVar.c("gcm.n.vibrate_timings");
        if (c14 != null) {
        }
        jArr = null;
        if (jArr != null) {
        }
        c15 = zVar.c("gcm.n.light_settings");
        if (c15 != null) {
        }
        iArr = null;
        if (iArr != null) {
        }
        boolean a142222222222222 = zVar.a("gcm.n.default_sound");
        if (zVar.a("gcm.n.default_vibrate_timings")) {
        }
        if (zVar.a("gcm.n.default_light_settings")) {
        }
        Notification notification2222222222222 = mVar222.A;
        int i172222222222222 = a142222222222222 ? 1 : 0;
        int i182222222222222 = a142222222222222 ? 1 : 0;
        int i192222222222222 = a142222222222222 ? 1 : 0;
        int i242222222222222 = a142222222222222 ? 1 : 0;
        notification2222222222222.defaults = i172222222222222;
        c16 = a142222222222222 ? 1 : 0;
        char c182222222222222 = a142222222222222 ? 1 : 0;
        if (c16 == true && 4 == true) {
        }
        e24 = zVar.e("gcm.n.tag");
        if (TextUtils.isEmpty(e24)) {
        }
        if (vVar != null) {
        }
        Log.isLoggable("FirebaseMessaging", 3);
        ((NotificationManager) this.f68242b.getSystemService("notification")).notify(e24, 0, mVar222.a());
        return true;
    }
}