summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorYo Chiang <yochiang@google.com>2021-01-21 18:14:47 +0800
committerYo Chiang <yochiang@google.com>2021-01-22 22:15:10 +0800
commitd5429105536285ad8b1e0642506485220dd7ead8 (patch)
tree3b71e3e116905f60a916393caba378310fb8ccbd /trusty/coverage/coverage.cpp
parentf5835fa71419c8f8c4cde86cb7e9e5fb84405049 (diff)
adb remount -R should enable DSU if suitable
If executing `adb remount -R` and DSU is running but disabled, then enable the DSU (one-shot mode) so that the reboot afterwards would stay within the DSU guest system. Normally reboot within a DSU guest system would bring the device back to the host system. However when doing adb remount -R, we actually doesn't want to exit DSU, but wish to reboot back into DSU guest system again with remount machinery (overlayfs) properly set up. Also sort the header include order. Bug: 165925766 Test: Within a DSU guest system, DSU disabled, adb remount -R => After reboot, system is DSU and overlayfs is mounted Test: adb-remount-test.sh within DSU guest system Change-Id: I72a7a568e985b183d357ae6e1a7d0113e9921200
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions