summaryrefslogtreecommitdiffstats
path: root/otautil/sysutil.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move reboot() from common.h into otautil/sysutil.h.Tao Bao2018-05-041-0/+10
| | | | | | | | | | | | This breaks the dependency on common.h (which belongs to recovery/librecovery) from librecovery_ui. reboot() is now owned by libotautil, which is expected to be a leaf node to be depended on. With the change, recovery and updater also share the same reboot() code now. Test: mmma -j bootable/recovery Change-Id: I1cc5d702cfe49302048db33d31c9c87ddc97ac71
* otautil: Rename dir/sys/thermal utils.Tao Bao2018-05-041-0/+203
Test: mmma -j bootable/recovery Change-Id: I32ab98549e91f993364306e4a88dc654221b3869