Merge "Move camera config props to camera_config_prop"

This commit is contained in:
Treehugger Robot 2020-05-12 00:16:48 +00:00 committed by Gerrit Code Review
commit 98316f23ab
5 changed files with 13 additions and 8 deletions

View file

@ -29,6 +29,7 @@
bluetooth_a2dp_offload_prop
bpfloader
bpfloader_exec
camera_config_prop
cgroup_bpf
charger_exec
color_display_service

View file

@ -1343,7 +1343,10 @@
( exported2_system_prop
surfaceflinger_color_prop))
(typeattributeset exported2_vold_prop_30_0 (exported2_vold_prop vold_config_prop))
(typeattributeset exported3_default_prop_30_0 (exported3_default_prop lmkd_config_prop))
(typeattributeset exported3_default_prop_30_0
( exported3_default_prop
camera_config_prop
lmkd_config_prop))
(typeattributeset exported3_radio_prop_30_0 (exported3_radio_prop))
(typeattributeset exported3_system_prop_30_0 (exported3_system_prop boot_status_prop))
(typeattributeset exported_audio_prop_30_0 (exported_audio_prop audio_config_prop))

View file

@ -1,6 +1,7 @@
get_prop(coredomain, pm_prop)
get_prop(coredomain, exported_pm_prop)
get_prop(coredomain, lmkd_config_prop)
get_prop(coredomain, camera_config_prop)
full_treble_only(`
neverallow {

View file

@ -259,8 +259,12 @@ audio.deep_buffer.media u:object_r:audio_config_prop:s0 exact bool
audio.offload.video u:object_r:audio_config_prop:s0 exact bool
audio.offload.min.duration.secs u:object_r:audio_config_prop:s0 exact int
camera.disable_zsl_mode u:object_r:exported3_default_prop:s0 exact bool
camera.fifo.disable u:object_r:exported3_default_prop:s0 exact int
config.disable_cameraservice u:object_r:camera_config_prop:s0 exact bool
camera.disable_zsl_mode u:object_r:camera_config_prop:s0 exact bool
camera.fifo.disable u:object_r:camera_config_prop:s0 exact bool
ro.camera.notify_nfc u:object_r:camera_config_prop:s0 exact bool
ro.camera.enableLazyHal u:object_r:camera_config_prop:s0 exact bool
# Should always_debuggable be bool? It's checked against the string "1".
dalvik.vm.always_debuggable u:object_r:dalvik_config_prop:s0 exact int
@ -381,9 +385,6 @@ ro.boot.wificountrycode u:object_r:exported3_default_prop:s0 exact string
ro.bt.bdaddr_path u:object_r:exported_bluetooth_prop:s0 exact string
ro.camera.notify_nfc u:object_r:exported3_default_prop:s0 exact int
ro.camera.enableLazyHal u:object_r:exported3_default_prop:s0 exact bool
ro.com.android.dataroaming u:object_r:exported3_default_prop:s0 exact bool
ro.com.android.prov_mobiledata u:object_r:exported3_default_prop:s0 exact bool
@ -638,8 +639,6 @@ aaudio.mmap_exclusive_policy u:object_r:exported_default_prop:s0 exact int
aaudio.mmap_policy u:object_r:exported_default_prop:s0 exact int
aaudio.wakeup_delay_usec u:object_r:exported_default_prop:s0 exact int
config.disable_cameraservice u:object_r:exported_camera_prop:s0 exact bool
gsm.sim.operator.numeric u:object_r:exported_radio_prop:s0 exact string
media.mediadrmservice.enable u:object_r:exported_default_prop:s0 exact bool

View file

@ -101,6 +101,7 @@ compatible_property_only(`
# Properties which can be written only by vendor_init
system_vendor_config_prop(apk_verity_prop)
system_vendor_config_prop(audio_config_prop)
system_vendor_config_prop(camera_config_prop)
system_vendor_config_prop(cpu_variant_prop)
system_vendor_config_prop(dalvik_config_prop)
system_vendor_config_prop(exported_camera_prop)