package com.adobe.marketing.mobile;

import com.adobe.marketing.mobile.identity.IdentityExtension;
import wg.t;

/* loaded from: classes4.dex */
public class Identity {

    /* renamed from: a, reason: collision with root package name */
    public static final Class f12186a = IdentityExtension.class;

    /* renamed from: com.adobe.marketing.mobile.Identity$1, reason: invalid class name */
    /* loaded from: classes4.dex */
    class AnonymousClass1 implements AdobeCallbackWithError<Event> {

        /* renamed from: a, reason: collision with root package name */
        final /* synthetic */ AdobeCallback f12187a;

        /* renamed from: b, reason: collision with root package name */
        final /* synthetic */ AdobeCallback f12188b;

        AnonymousClass1(AdobeCallback adobeCallback, AdobeCallback adobeCallback2) {
            this.f12187a = adobeCallback;
            this.f12188b = adobeCallback2;
        }

        @Override // com.adobe.marketing.mobile.AdobeCallbackWithError
        public void b(AdobeError adobeError) {
            AdobeCallback adobeCallback = this.f12187a;
            if (adobeCallback instanceof AdobeCallbackWithError) {
                ((AdobeCallbackWithError) adobeCallback).b(adobeError);
            }
        }

        @Override // com.adobe.marketing.mobile.AdobeCallback
        /* renamed from: c, reason: merged with bridge method [inline-methods] */
        public void a(Event event) {
            this.f12188b.a(event);
        }
    }

    /* loaded from: classes4.dex */
    private static final class IdentityEventDataKeys {
        private IdentityEventDataKeys() {
        }
    }

    private Identity() {
    }

    public static String b() {
        return "2.0.3";
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static /* synthetic */ void c(ExtensionError extensionError) {
        if (extensionError == null) {
            return;
        }
        t.b("Identity", "Identity", "There was an error when registering the UserProfile extension: %s", extensionError.b());
    }

    public static void d() {
        MobileCore.l(IdentityExtension.class, new ExtensionErrorCallback() { // from class: com.adobe.marketing.mobile.b
            @Override // com.adobe.marketing.mobile.ExtensionErrorCallback
            public final void a(Object obj) {
                Identity.c((ExtensionError) obj);
            }
        });
    }
}
