Merge "Allow update_engine to read virtual ab feature flag." am: bfac74272a
am: 92a0aa60b6
Change-Id: I7d715596f009159098a56fa4aba3cdbc59730783
This commit is contained in:
commit
756145b8c3
4 changed files with 9 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
|||
system_group_file
|
||||
system_passwd_file
|
||||
vendor_apex_file
|
||||
virtual_ab_prop
|
||||
wifi_stack
|
||||
wifi_stack_service
|
||||
wifi_stack_tmpfs))
|
||||
|
|
|
@ -212,3 +212,7 @@ ro.cold_boot_done u:object_r:cold_boot_done_prop:s0
|
|||
|
||||
# Charger properties
|
||||
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_lazy_prop, property_type;
|
||||
type use_memfd_prop, property_type;
|
||||
type virtual_ab_prop, property_type;
|
||||
type vold_prop, property_type, core_property_type;
|
||||
type wifi_log_prop, property_type, log_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.
|
||||
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