From 4a40cd17bf0f36a355de5c68c2419649633a4e2c Mon Sep 17 00:00:00 2001 From: BlackMesa123 Date: Fri, 12 Jan 2024 22:12:54 +0100 Subject: [PATCH] app: home: mark Samsung root cert as trusted --- .../github/vvb2060/keyattestation/home/CommonItemViewHolder.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/io/github/vvb2060/keyattestation/home/CommonItemViewHolder.kt b/app/src/main/java/io/github/vvb2060/keyattestation/home/CommonItemViewHolder.kt index fa85456..c6dcbfc 100644 --- a/app/src/main/java/io/github/vvb2060/keyattestation/home/CommonItemViewHolder.kt +++ b/app/src/main/java/io/github/vvb2060/keyattestation/home/CommonItemViewHolder.kt @@ -140,7 +140,8 @@ open class CommonItemViewHolder(itemView: View, binding: HomeCommonItemBindin isClickable = false iconRes = R.drawable.ic_untrustworthy_24 colorAttr = rikka.material.R.attr.colorWarning - } else if (data.issuer == CertificateInfo.KEY_GOOGLE) { + } else if (data.issuer == CertificateInfo.KEY_GOOGLE + || data.issuer == CertificateInfo.KEY_SAMSUNG) { isVisible = true isClickable = false iconRes = R.drawable.ic_trustworthy_24