Merge "Move qemu.sf.lcd_density into system/sepolicy" into rvc-qpr-dev-plus-aosp am: 463a30d150

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/sepolicy/+/13679257

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6b0add28f5dccc2e1be8a8d9ecb0db6f2508e8c2
This commit is contained in:
Roman Kiryanov 2021-02-24 03:03:30 +00:00 committed by Automerger Merge Worker
commit a2f1682878
5 changed files with 11 additions and 0 deletions

View file

@ -85,6 +85,7 @@
profcollectd_exec
profcollectd_service
qemu_hw_prop
qemu_sf_lcd_density_prop
radio_core_data_file
reboot_readiness_service
remote_prov_app

View file

@ -189,6 +189,9 @@ ro.dalvik. u:object_r:dalvik_prop:s0
# qemu_hw_prop is read/written by both system and vendor.
qemu.hw.mainkeys u:object_r:qemu_hw_prop:s0
# qemu_sf_lcd_density_prop is read/written by both system and vendor.
qemu.sf.lcd_density u:object_r:qemu_sf_lcd_density_prop:s0 exact int
# Shared between system server and wificond
wifi. u:object_r:wifi_prop:s0
wlan. u:object_r:wifi_prop:s0

View file

@ -58,6 +58,9 @@ set_prop(surfaceflinger, exported3_system_prop)
set_prop(surfaceflinger, ctl_bootanim_prop)
set_prop(surfaceflinger, surfaceflinger_display_prop)
# Get properties.
get_prop(surfaceflinger, qemu_sf_lcd_density_prop)
# Use open files supplied by an app.
allow surfaceflinger appdomain:fd use;
allow surfaceflinger { app_data_file privapp_data_file }:file { read write };

View file

@ -213,6 +213,9 @@ get_prop(zygote, media_variant_prop)
# Allow zygote to read ro.control_privapp_permissions and ro.cp_system_other_odex
get_prop(zygote, packagemanager_config_prop)
# Allow zygote to read qemu.sf.lcd_density
get_prop(zygote, qemu_sf_lcd_density_prop)
# Allow zygote to read /apex/apex-info-list.xml
allow zygote apex_info_file:file r_file_perms;

View file

@ -192,6 +192,7 @@ system_public_prop(nfc_prop)
system_public_prop(ota_prop)
system_public_prop(powerctl_prop)
system_public_prop(qemu_hw_prop)
system_public_prop(qemu_sf_lcd_density_prop)
system_public_prop(radio_control_prop)
system_public_prop(radio_prop)
system_public_prop(serialno_prop)