翰林优商.apk(点击下载) / k.java


package com.baidu.liantian.utility;

import android.content.Context;
import android.content.SharedPreferences;

/* compiled from: SdkFacePrivateConfig */
public final class k {
    private static k c;
    public SharedPreferences a;
    public SharedPreferences.Editor b;

    private k(Context context) {
        SharedPreferences sharedPreferences = context.getSharedPreferences("leroadliantiancfg_st", 4);
        this.a = sharedPreferences;
        this.b = sharedPreferences.edit();
    }

    public static synchronized k a(Context context) {
        synchronized (k.class) {
            if (context == null) {
                return c;
            }
            if (c == null) {
                c = new k(context);
            }
            return c;
        }
    }
}