Only skip panic trigger signature check if running under a test

This commit is contained in:
Alexander Bakker 2022-02-17 15:47:27 +01:00
parent d1d5df8051
commit 5ce21a94ea
3 changed files with 6 additions and 1 deletions

View file

@ -28,7 +28,7 @@ public class PanicResponderActivity extends AegisActivity {
}
Intent intent;
if (!BuildConfig.DEBUG) {
if (!BuildConfig.TEST.get()) {
TrustedIntents trustedIntents = TrustedIntents.get(this);
trustedIntents.addTrustedSigner(GuardianProjectRSA4096.class);
trustedIntents.addTrustedSigner(GuardianProjectFDroidRSA2048.class);