Eliminate any traces of Java in app

This commit is contained in:
topjohnwu
2019-08-08 00:59:23 -07:00
parent 48395ba860
commit f2494374f8
14 changed files with 182 additions and 212 deletions
@@ -0,0 +1,21 @@
package com.topjohnwu.magisk.utils
interface SafetyNetHelper {
val version: Int
fun attest()
interface Callback {
fun onResponse(responseCode: Int)
}
companion object {
val RESPONSE_ERR = 0x01
val CONNECTION_FAIL = 0x02
val BASIC_PASS = 0x10
val CTS_PASS = 0x20
}
}