From ed521c663728292d23885684dd024f07dc80be2d Mon Sep 17 00:00:00 2001 From: BlackMesa123 Date: Thu, 16 Nov 2023 01:25:58 +0100 Subject: [PATCH] app: home: fix FC when trying to generate SAK I IDS_TAG : App io.github.vvb2060.keyattestation.AppApplication@b55caa1 has not finished training Signed-off-by: BlackMesa123 --- .../java/io/github/vvb2060/keyattestation/home/HomeViewModel.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/java/io/github/vvb2060/keyattestation/home/HomeViewModel.kt b/app/src/main/java/io/github/vvb2060/keyattestation/home/HomeViewModel.kt index 70e6eb0..1f69de8 100644 --- a/app/src/main/java/io/github/vvb2060/keyattestation/home/HomeViewModel.kt +++ b/app/src/main/java/io/github/vvb2060/keyattestation/home/HomeViewModel.kt @@ -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) }