diff options
author | Tom Cherry <tomcherry@google.com> | 2019-06-05 10:26:54 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2019-06-06 11:20:29 -0700 |
commit | 65a1ee83a89a7bea595ff07a64c50d1e51b2d8e2 (patch) | |
tree | 8f207f516eb6ae4f8b941612f9c002ef3859a325 /init/modalias_handler.cpp | |
parent | c76078e4b62ac6ac7673ad5c84226fedb22edd43 (diff) |
toolbox: add setprop, start, and stop
Move these from toybox as they're Android specific and more easily
maintained here.
A few changes during the conversion:
* Report error in setprop if value is not a UTF8 string; this would
previously fail only after attempting to set the property
* Inform users to check dmesg for further failure messages for all
three programs
* Only start/stop zygote_secondary if the device is not single arch
Bug: 117321744
Bug: 133901248
Test: setprop works, start and stop work on single and multi-arch.
Change-Id: Id2194cf2b65221bde38aff91f0e86b33edb37f42
Diffstat (limited to 'init/modalias_handler.cpp')
0 files changed, 0 insertions, 0 deletions