From d7bed7733e00d749f43f84440a9f1ad4ceba5553 Mon Sep 17 00:00:00 2001 From: Andrew Scull Date: Fri, 29 Oct 2021 15:20:02 +0100 Subject: [PATCH] Allow control of AVF experiments Grant system_server and flags_health_check permission to set the properties that correspond to the AVF experiments. Bug: 192819132 Test: m Change-Id: I0e6fa73187abb4412d07ecfd42c1074b8afa5346 --- private/flags_health_check.te | 1 + private/system_server.te | 1 + 2 files changed, 2 insertions(+) diff --git a/private/flags_health_check.te b/private/flags_health_check.te index c4e589de6..69ff58ca9 100644 --- a/private/flags_health_check.te +++ b/private/flags_health_check.te @@ -22,6 +22,7 @@ set_prop(flags_health_check, device_config_window_manager_native_boot_prop) set_prop(flags_health_check, device_config_configuration_prop) set_prop(flags_health_check, device_config_connectivity_prop) set_prop(flags_health_check, device_config_surface_flinger_native_boot_prop) +set_prop(flags_health_check, device_config_virtualization_framework_native_prop) # system property device_config_boot_count_prop is used for deciding when to perform server # configurable flags related disaster recovery. Mistakenly set up by unrelated components can, at a diff --git a/private/system_server.te b/private/system_server.te index 4c87b3f04..d06db419d 100644 --- a/private/system_server.te +++ b/private/system_server.te @@ -712,6 +712,7 @@ set_prop(system_server, device_config_window_manager_native_boot_prop) set_prop(system_server, device_config_configuration_prop) set_prop(system_server, device_config_connectivity_prop) set_prop(system_server, device_config_surface_flinger_native_boot_prop) +set_prop(system_server, device_config_virtualization_framework_native_prop) # Allow query ART device config properties get_prop(system_server, device_config_runtime_native_boot_prop)