You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Several small snet fixes
This commit is contained in:
@@ -43,7 +43,7 @@ public class SafetyNetHelper
|
||||
}
|
||||
|
||||
// Entry point to start test
|
||||
public void requestTest() {
|
||||
public void attest() {
|
||||
// Connect Google Service
|
||||
GoogleApiClient.Builder builder = new GoogleApiClient.Builder(mActivity);
|
||||
try {
|
||||
@@ -92,7 +92,7 @@ public class SafetyNetHelper
|
||||
responseCode |= decoded.getBoolean("ctsProfileMatch") ? CTS_PASS : 0;
|
||||
responseCode |= decoded.getBoolean("basicIntegrity") ? BASIC_PASS : 0;
|
||||
} catch (JSONException e) {
|
||||
responseCode |= RESPONSE_ERR;
|
||||
cb.onResponse(RESPONSE_ERR);
|
||||
return;
|
||||
}
|
||||
// Disconnect
|
||||
|
||||
Reference in New Issue
Block a user