[Java] 纯文本查看 复制代码 package a.b.b.c;
import android.content.Context;
import android.content.pm.Signature;
import android.os.Build;
import android.util.Log;
/* compiled from: Condition.java */
/* loaded from: classes.dex */
public class a {
/* renamed from: a reason: collision with root package name */
public static boolean f5a = false;
public static void a(Context context) {
boolean z;
String str = Build.MANUFACTURER;
String trim = str == null ? "" : str.trim();
String str2 = Build.MODEL;
String replaceAll = str2 != null ? str2.trim().replaceAll("\\s*", "") : "";
if ("Allwinner".equals(trim) && "t3".equals(replaceAll)) {
if (e.s(context, "com.dofun.market")) {
Signature c = e.c(context, "com.dofun.market");
z = "BB:04:3D:1F:6A:4D:D7:7B:82:9E:3D:E3:DB:61:BC:12".equals(a.b.f.c.a(c != null ? c.toByteArray() : null));
} else {
z = false;
}
if (z) {
f5a = true;
}
}
StringBuilder b = a.a.a.a.a.b("sPreview: ");
b.append(f5a);
Log.i("app", b.toString());
}
}
f5a 为关键;
在MainActivity 类中使用了;
[Java] 纯文本查看 复制代码 public final void r0() {
View a2;
if (this.A) {
if (ProxyService.b().n()) {
s0(ProxyService.b().e0());
if (this.b) {
if (a.b.b.c.a.f5a) {
a2 = a.b.e.c.h.b(this, this.h, new FrameLayout.LayoutParams(-1, -1, 17), null);
} else {
a2 = a.b.e.c.h.a(this, this.h, new FrameLayout.LayoutParams(-1, -1, 17), null);
}
if (a2 != null) {
this.F = a2;
B0(getSharedPreferences("dvr_app_shared", 0).getBoolean("is_full_screen", a.b.b.c.d.a().c > a.b.b.c.d.a().d));
}
}
this.h.setBackgroundResource(17170444);
return;
}
s0(null);
x0();
this.h.setBackgroundResource(17170445);
}
}
|