package R3;

import L3.f;
import android.content.Context;
import android.preference.PreferenceManager;

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public static final Object f6079b = new Object();

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final f f6080a;

    public b(a aVar) {
        Context context = (Context) aVar.f6072a;
        String str = (String) aVar.f6073b;
        String str2 = (String) aVar.f6074c;
        if (str == null) {
            throw new IllegalArgumentException("keysetName cannot be null");
        }
        Context applicationContext = context.getApplicationContext();
        if (str2 == null) {
            PreferenceManager.getDefaultSharedPreferences(applicationContext).edit();
        } else {
            applicationContext.getSharedPreferences(str2, 0).edit();
        }
        this.f6080a = (f) aVar.f6078j;
    }
}
