Add userspace_reboot_config_prop property type

This type will be used for read-only properties used to configure
userspace reboot behaviour (e.g. whenever device supports it, watchdog
timeout, etc.).

Test: adb shell getprop ro.init.userspace_reboot.is_supported
Bug: 135984674
Change-Id: I387b2f2f6e3ca96c66c8fa3e6719d013d71f76c7
This commit is contained in:
Nikita Ioffe 2019-12-23 15:10:40 +00:00
parent 8a40d6e70d
commit 8b570f0c60
3 changed files with 3 additions and 1 deletions

View File

@ -56,6 +56,7 @@
timezonedetector_service
usb_serial_device
userspace_reboot_prop
userspace_reboot_config_prop
userspace_reboot_exported_prop
vehicle_hal_prop
vendor_apex_file

View File

@ -18,6 +18,7 @@ system_internal_prop(last_boot_reason_prop)
system_internal_prop(netd_stable_secret_prop)
system_internal_prop(pm_prop)
system_internal_prop(userspace_reboot_prop)
system_internal_prop(userspace_reboot_config_prop)
compatible_property_only(`
# DO NOT ADD ANY PROPERTIES HERE

View File

@ -398,7 +398,7 @@ wifi.concurrent.interface u:object_r:exported_default_prop:s0 exact string
wifi.direct.interface u:object_r:exported_default_prop:s0 exact string
wifi.interface u:object_r:exported_default_prop:s0 exact string
ro.apex.updatable u:object_r:exported_default_prop:s0 exact bool
ro.init.userspace_reboot.is_supported u:object_r:userspace_reboot_prop:s0 exact bool
ro.init.userspace_reboot.is_supported u:object_r:userspace_reboot_config_prop:s0 exact bool
# public-readable
ro.boot.revision u:object_r:exported2_default_prop:s0 exact string