Merge "Define vendor side property "ro.camerax.extensions.enabled""

This commit is contained in:
Emilian Peev 2021-04-14 16:20:16 +00:00 committed by Gerrit Code Review
commit 87a3f24857
5 changed files with 8 additions and 0 deletions

View file

@ -18,6 +18,7 @@
appcompat_data_file
arm64_memtag_prop
authorization_service
camerax_extensions_prop
cgroup_desc_api_file
cgroup_v2
codec2_config_prop

View file

@ -323,6 +323,8 @@ 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
ro.camerax.extensions.enabled u:object_r:camerax_extensions_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
dalvik.vm.appimageformat u:object_r:dalvik_config_prop:s0 exact string

View file

@ -592,3 +592,6 @@ neverallow appdomain system_bootstrap_lib_file:file
{ open read write append execute execute_no_trans map };
neverallow appdomain system_bootstrap_lib_file:dir
{ open read getattr search };
# Allow to ro.camerax.extensions.enabled
get_prop(appdomain, camerax_extensions_prop)

View file

@ -122,6 +122,7 @@ system_vendor_config_prop(build_odm_prop)
system_vendor_config_prop(build_vendor_prop)
system_vendor_config_prop(camera_calibration_prop)
system_vendor_config_prop(camera_config_prop)
system_vendor_config_prop(camerax_extensions_prop)
system_vendor_config_prop(charger_config_prop)
system_vendor_config_prop(codec2_config_prop)
system_vendor_config_prop(cpu_variant_prop)

View file

@ -223,6 +223,7 @@ allow vendor_init self:capability sys_nice;
set_prop(vendor_init, apk_verity_prop)
set_prop(vendor_init, bluetooth_a2dp_offload_prop)
set_prop(vendor_init, bluetooth_audio_hal_prop)
set_prop(vendor_init, camerax_extensions_prop)
set_prop(vendor_init, cpu_variant_prop)
set_prop(vendor_init, dalvik_runtime_prop)
set_prop(vendor_init, debug_prop)