Define vendor-specific property ro.incremental.enable
[cherry-picking] Make ro.incremental.enable a vendor-specific property. Allow system_server and vold to read this property. Test: manual BUG: 155212902 Change-Id: I8ff8837af635fa8e7b5bb02e5f6de5ac15b5023b Merged-In: I8ff8837af635fa8e7b5bb02e5f6de5ac15b5023b
This commit is contained in:
parent
b2fa463c43
commit
9fdcbcd29b
6 changed files with 10 additions and 0 deletions
|
@ -56,6 +56,7 @@
|
|||
hal_tv_tuner_hwservice
|
||||
hal_vibrator_service
|
||||
incremental_control_file
|
||||
incremental_prop
|
||||
incremental_service
|
||||
init_perf_lsm_hooks_prop
|
||||
init_svc_debug_prop
|
||||
|
|
|
@ -779,6 +779,9 @@ wifi.interface u:object_r:exported_default_prop:s0 exact string
|
|||
|
||||
ro.apex.updatable u:object_r:exported_default_prop:s0 exact bool
|
||||
|
||||
# Property to enable incremental feature
|
||||
ro.incremental.enable u:object_r:incremental_prop:s0
|
||||
|
||||
# Properties to configure userspace reboot.
|
||||
init.userspace_reboot.is_supported u:object_r:userspace_reboot_config_prop:s0 exact bool
|
||||
init.userspace_reboot.sigkill.timeoutmillis u:object_r:userspace_reboot_config_prop:s0 exact int
|
||||
|
|
|
@ -680,6 +680,9 @@ get_prop(system_server, apk_verity_prop)
|
|||
# Read wifi.interface
|
||||
get_prop(system_server, wifi_prop)
|
||||
|
||||
# Read the vendor property that indicates if Incremental features is enabled
|
||||
get_prop(system_server, incremental_prop)
|
||||
|
||||
# Create a socket for connections from debuggerd.
|
||||
allow system_server system_ndebug_socket:sock_file create_file_perms;
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ type_transition vold mnt_media_rw_file:dir mnt_media_rw_stub_file;
|
|||
# Property Service
|
||||
get_prop(vold, vold_config_prop)
|
||||
get_prop(vold, storage_config_prop);
|
||||
get_prop(vold, incremental_prop);
|
||||
|
||||
set_prop(vold, vold_prop)
|
||||
set_prop(vold, vold_status_prop)
|
||||
|
|
|
@ -106,6 +106,7 @@ system_vendor_config_prop(exported_camera_prop)
|
|||
system_vendor_config_prop(exported_config_prop)
|
||||
system_vendor_config_prop(exported_default_prop)
|
||||
system_vendor_config_prop(exported3_default_prop)
|
||||
system_vendor_config_prop(incremental_prop)
|
||||
system_vendor_config_prop(media_variant_prop)
|
||||
system_vendor_config_prop(storage_config_prop)
|
||||
system_vendor_config_prop(surfaceflinger_prop)
|
||||
|
|
|
@ -225,6 +225,7 @@ set_prop(vendor_init, exported_wifi_prop)
|
|||
set_prop(vendor_init, exported2_system_prop)
|
||||
set_prop(vendor_init, exported3_default_prop)
|
||||
set_prop(vendor_init, exported3_radio_prop)
|
||||
set_prop(vendor_init, incremental_prop)
|
||||
set_prop(vendor_init, logd_prop)
|
||||
set_prop(vendor_init, log_tag_prop)
|
||||
set_prop(vendor_init, log_prop)
|
||||
|
|
Loading…
Reference in a new issue