28 lines
764 B
Java
28 lines
764 B
Java
package o;
|
|
|
|
import android.content.Context;
|
|
import android.text.TextUtils;
|
|
import java.io.UnsupportedEncodingException;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class ZmY {
|
|
final YUz c;
|
|
|
|
private static String d(Context context, String str) {
|
|
String c = C17249vHB.c(context, str, "agc_plugin_", "crypto");
|
|
if (c == null) {
|
|
return null;
|
|
}
|
|
try {
|
|
return new String(KzA.b(c), "utf-8");
|
|
} catch (UnsupportedEncodingException | IllegalArgumentException e) {
|
|
e.getMessage();
|
|
return null;
|
|
}
|
|
}
|
|
|
|
public ZmY(Context context, String str) {
|
|
this.c = !TextUtils.isEmpty(d(context, str)) ? new C8184dDk(context, str) : new C0340Ell(context, str);
|
|
}
|
|
}
|