Grant gmscore permission to read virtual ab properties
Bug: 168059475 Test: Serve an update over gmscore Change-Id: Iefd88f4189b50ee68ee09bcb5a20556ba4ea3e1a
This commit is contained in:
parent
7be9e9e372
commit
84105de0ef
2 changed files with 6 additions and 2 deletions
|
@ -127,3 +127,7 @@ allow gmscore_app anr_data_file:file r_file_perms;
|
|||
|
||||
# b/148974132: com.android.vending needs this
|
||||
allow gmscore_app priv_app:tcp_socket { read write };
|
||||
|
||||
# b/168059475 Allow GMSCore to read Virtual AB properties to determine
|
||||
# if device supports VAB.
|
||||
get_prop(gmscore_app, virtual_ab_prop)
|
||||
|
|
|
@ -235,8 +235,8 @@ sys.boot_from_charger_mode u:object_r:charger_status_prop:s0 exact int
|
|||
ro.enable_boot_charger_mode u:object_r:charger_config_prop:s0 exact bool
|
||||
|
||||
# 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
|
||||
ro.virtual_ab.enabled u:object_r:virtual_ab_prop:s0 exact bool
|
||||
ro.virtual_ab.retrofit u:object_r:virtual_ab_prop:s0 exact bool
|
||||
|
||||
ro.product.ab_ota_partitions u:object_r:ota_prop:s0 exact string
|
||||
# Property to set/clear the warm reset flag after an OTA update.
|
||||
|
|
Loading…
Reference in a new issue