package com.google.android.play.core.integrity;

import android.content.Context;

/* JADX INFO: loaded from: classes3.dex */
final class ax {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    private static aw f13629a;

    public static synchronized aw a(Context context) {
        try {
            if (f13629a == null) {
                u uVar = new u(null);
                Context applicationContext = context.getApplicationContext();
                if (applicationContext != null) {
                    context = applicationContext;
                }
                uVar.a(context);
                f13629a = uVar.b();
            }
        } catch (Throwable th) {
            throw th;
        }
        return f13629a;
    }
}
