Keep the methods in SN check interface

For some reason, Proguard optimization will remove the method
This commit is contained in:
topjohnwu 2018-07-30 20:42:42 +08:00
parent 50b73a6720
commit 1552f32e09

View File

@ -12,7 +12,10 @@ public interface ISafetyNetHelper {
int BASIC_PASS = 0x10; int BASIC_PASS = 0x10;
int CTS_PASS = 0x20; int CTS_PASS = 0x20;
@Keep
void attest(); void attest();
@Keep
int getVersion(); int getVersion();
interface Callback { interface Callback {