Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb9699c2 authored by Nikita Ioffe's avatar Nikita Ioffe
Browse files

Make init.userspace_reboot.is_supported a rw property

General recommendation is to avoid read-only properties, and instead control
"read-onlines" by only allowing init/vendor_init to set the property.

Since ro.init.userspace_reboot.is_supported was added in this release, and
nobody outside of the platform is querying it directly, it should be fine to
simply rename it.

Test: adb shell getprop init.userspace_reboot.is_supported
Test: atest CtsUserspaceRebootHostSideTestCases
Bug: 152803929
Change-Id: Ie3604b315a5d2a846037064ad9a29258f2cad9d0
parent 337f42e7
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -16,6 +16,4 @@

# Inherit this when the target supports userspace reboot

PRODUCT_PROPERTY_OVERRIDES := ro.init.userspace_reboot.is_supported=true

# TODO(b/135984674): configure userspace reboot related properties
PRODUCT_PROPERTY_OVERRIDES := init.userspace_reboot.is_supported=true