package n8;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import ca.canadapost.core.data.model.CoreConstants;

/* loaded from: classes.dex */
public abstract class r {

    /* renamed from: a, reason: collision with root package name */
    public static final a f29864a = new a(null);

    /* loaded from: classes.dex */
    public static final class a {
        private a() {
        }

        public /* synthetic */ a(kotlin.jvm.internal.k kVar) {
            this();
        }

        public static /* synthetic */ void b(a aVar, f.c cVar, Context context, Bundle bundle, int i10, Object obj) {
            if ((i10 & 4) != 0) {
                bundle = null;
            }
            aVar.a(cVar, context, bundle);
        }

        public final void a(f.c launcher, Context context, Bundle bundle) {
            kotlin.jvm.internal.t.g(launcher, "launcher");
            kotlin.jvm.internal.t.g(context, "context");
            Intent intent = new Intent("ca.canadapost.module.mymailsubscription.open.beta");
            if (bundle != null) {
                intent.putExtra(CoreConstants.FRAG_ARGS, bundle);
            }
            intent.setPackage(context.getPackageName());
            launcher.a(intent);
        }
    }
}
