Skip to content

Commit

Permalink
app: home: fix FC when trying to generate SAK
Browse files Browse the repository at this point in the history
I IDS_TAG : App io.github.vvb2060.keyattestation.AppApplication@b55caa1 has not finished training

Signed-off-by: BlackMesa123 <[email protected]>
  • Loading branch information
salvogiangri committed Nov 16, 2023
1 parent 9de9049 commit ed521c6
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ class HomeViewModel(pm: PackageManager, private val sp: SharedPreferences) : Vie
.setAlgorithm(KeyProperties.KEY_ALGORITHM_EC)
.setKeyGenParameterSpec(builder.build())
.setVerifiableIntegrity(true)
.setPackageName(AppApplication.app.packageName)
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU && includeProps) {
spec.setDevicePropertiesAttestationIncluded(true)
}
Expand Down

0 comments on commit ed521c6

Please sign in to comment.