From 747eb019ce825c231e2f41c743ef9d0f1c7c39f5 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Fri, 20 Oct 2023 19:38:36 +0000 Subject: Make fix_unlocked_device_required_keys a build-time flag This flag will need to be accessed from keystore2, which is started before the DeviceConfig-based flag infrastructure is available. Also, LockSettingsService in system_server will need to vary its start-up behavior depending on this flag, so toggling this flag at runtime won't work properly anyway (unless the device is immediately rebooted). Bug: 296464083 Test: build Change-Id: I22327798e0fe804144bbedb3e57f57b60b85e72a --- core/java/android/security/flags.aconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/core/java/android/security/flags.aconfig b/core/java/android/security/flags.aconfig index b6c2b83f0daa..5aa309753cc4 100644 --- a/core/java/android/security/flags.aconfig +++ b/core/java/android/security/flags.aconfig @@ -12,4 +12,5 @@ flag { namespace: "hardware_backed_security" description: "Fix bugs in behavior of UnlockedDeviceRequired keystore keys" bug: "296464083" + is_fixed_read_only: true } -- cgit v1.2.3-59-g8ed1b