fix signature bypass again
This commit is contained in:
parent
27bf1b5d38
commit
cadd0e565e
|
|
@ -176,7 +176,6 @@ public class MMPApplication extends Application {
|
|||
if (packageInfo.signatures != null && packageInfo.signatures.length > 0) {
|
||||
packageInfo.signatures[0] = new Signature(originalSignature);
|
||||
}
|
||||
}
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
|
||||
if (packageInfo.signingInfo != null) {
|
||||
|
|
@ -194,6 +193,7 @@ public class MMPApplication extends Application {
|
|||
out.writeInt(1);
|
||||
packageInfo.writeToParcel(out, PARCELABLE_WRITE_RETURN_VALUE);
|
||||
}
|
||||
}
|
||||
|
||||
// reset pos
|
||||
out.setDataPosition(0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue