Merge "Allow update_engine to read virtual ab feature flag."
This commit is contained in:
commit
bfac74272a
4 changed files with 9 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
||||||
system_group_file
|
system_group_file
|
||||||
system_passwd_file
|
system_passwd_file
|
||||||
vendor_apex_file
|
vendor_apex_file
|
||||||
|
virtual_ab_prop
|
||||||
wifi_stack
|
wifi_stack
|
||||||
wifi_stack_service
|
wifi_stack_service
|
||||||
wifi_stack_tmpfs))
|
wifi_stack_tmpfs))
|
||||||
|
|
|
@ -212,3 +212,7 @@ ro.cold_boot_done u:object_r:cold_boot_done_prop:s0
|
||||||
|
|
||||||
# Charger properties
|
# Charger properties
|
||||||
ro.charger. u:object_r:charger_prop:s0
|
ro.charger. u:object_r:charger_prop:s0
|
||||||
|
|
||||||
|
# Virtual A/B properties
|
||||||
|
ro.virtual_ab.enabled u:object_r:virtual_ab_prop:s0
|
||||||
|
ro.virtual_ab.retrofit u:object_r:virtual_ab_prop:s0
|
||||||
|
|
|
@ -93,6 +93,7 @@ type time_prop, property_type;
|
||||||
type traced_enabled_prop, property_type;
|
type traced_enabled_prop, property_type;
|
||||||
type traced_lazy_prop, property_type;
|
type traced_lazy_prop, property_type;
|
||||||
type use_memfd_prop, property_type;
|
type use_memfd_prop, property_type;
|
||||||
|
type virtual_ab_prop, property_type;
|
||||||
type vold_prop, property_type, core_property_type;
|
type vold_prop, property_type, core_property_type;
|
||||||
type wifi_log_prop, property_type, log_property_type;
|
type wifi_log_prop, property_type, log_property_type;
|
||||||
type wifi_prop, property_type;
|
type wifi_prop, property_type;
|
||||||
|
|
|
@ -76,3 +76,6 @@ allow update_engine_common block_device:dir r_dir_perms;
|
||||||
|
|
||||||
# Allow update_engine_common to write to statsd socket.
|
# Allow update_engine_common to write to statsd socket.
|
||||||
unix_socket_send(update_engine_common, statsdw, statsd)
|
unix_socket_send(update_engine_common, statsdw, statsd)
|
||||||
|
|
||||||
|
# Allow to read Virtual A/B feature flags.
|
||||||
|
get_prop(update_engine_common, virtual_ab_prop)
|
||||||
|
|
Loading…
Reference in a new issue