android_system_core/init/sysprop/api/com.android.sysprop.init-current.txt
Nikita Ioffe 9f473c0579 Don't proceed with userspace reboot if device doesn't support it
Test: set property to false and adb reboot userspace
Bug: 135984674
Change-Id: I11e55243df002dd54e533a6b9fc529866597d4dd
2019-12-18 18:06:47 +00:00

14 lines
354 B
Text

props {
module: "android.sysprop.InitProperties"
prop {
api_name: "is_userspace_reboot_supported"
prop_name: "ro.init.userspace_reboot.is_supported"
integer_as_bool: true
}
prop {
api_name: "userspace_reboot_in_progress"
access: ReadWrite
prop_name: "sys.init.userspace_reboot.in_progress"
integer_as_bool: true
}
}