package defpackage;

import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.res.Resources;
import android.os.Looper;
import android.os.Message;

/* renamed from: ᵷˁ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class HandlerC4868 extends HandlerC5094 {

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final Context f18089;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final /* synthetic */ C4815 f18090;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public HandlerC4868(C4815 c4815, Context context) {
        super(Looper.myLooper() == null ? Looper.getMainLooper() : Looper.myLooper(), 0);
        this.f18090 = c4815;
        this.f18089 = context.getApplicationContext();
    }

    @Override // android.os.Handler
    public final void handleMessage(Message message) throws Resources.NotFoundException, PackageManager.NameNotFoundException {
        if (message.what != 1) {
            return;
        }
        int i = C1029.f4495;
        C4815 c4815 = this.f18090;
        Context context = this.f18089;
        int iM3394 = c4815.m3394(context, i);
        int i2 = AbstractC0388.f2245;
        if (iM3394 == 1 || iM3394 == 2 || iM3394 == 3 || iM3394 == 9) {
            Intent intentM3393 = c4815.m3393(iM3394, context, "n");
            c4815.m10140(context, iM3394, intentM3393 == null ? null : PendingIntent.getActivity(context, 0, intentM3393, 201326592));
        }
    }
}
