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
commit4a5a258ec59d93fc821c921f2a5ccd8dfc6fa6d5 (patch)
tree3b71e3e116905f60a916393caba378310fb8ccbd /trusty/coverage/coverage.cpp
parentfb95aaea16a62a1d3cd8e94455968f23e27bf1c8 (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