commit | 32e7ea0096ea496b1204a17c3ab0368ba8187916 | [log] [tgz] |
---|---|---|
author | Nikita Ioffe <ioffe@google.com> | Tue Jan 14 12:32:59 2020 +0000 |
committer | Nikita Ioffe <ioffe@google.com> | Tue Jan 14 12:39:23 2020 +0000 |
tree | 67bd060fb6d33e2f3ffe8fcd5f9124c94e3b299f | |
parent | 65d6fd48c85cbe167ed128dc906c9b92c233c7b4 [diff] |
Allow apps to read ro.init.userspace_reboot.is_supported This property essentially implements PowerManager.isRebootingUserspaceSupported[0] public API, hence apps should be able to read it. [0]: https://cs.android.com/android/_/android/platform/frameworks/base/+/73cab34d9f49013f4ede893aa00802b937d0d5a9:core/java/android/os/PowerManager.java;l=1397 Test: m checkbuild Test: atest CtsUserspaceRebootHostSideTestCases Test: adb shell getprop ro.init.userspace_reboot.is_supported Bug: 135984674 Change-Id: I09cab09735760529de81eb6d5306f052ee408a6e