[core] No longer trust testonly manager (#656)
This commit is contained in:
parent
7257181e2e
commit
7f83efb2d5
|
|
@ -38,9 +38,6 @@ import de.robv.android.xposed.XposedHelpers;
|
|||
|
||||
public class InstallerVerifier {
|
||||
public static boolean verifyInstallerSignature(ApplicationInfo appInfo) {
|
||||
if ((appInfo.flags & ApplicationInfo.FLAG_TEST_ONLY) != 0) {
|
||||
return true;
|
||||
}
|
||||
ApkVerifier verifier = new ApkVerifier.Builder(new File(appInfo.sourceDir))
|
||||
.setMinCheckedPlatformVersion(26)
|
||||
.build();
|
||||
|
|
|
|||
Loading…
Reference in New Issue