diff options
author | Yo Chiang <yochiang@google.com> | 2020-11-09 17:45:35 +0800 |
---|---|---|
committer | Yo Chiang <yochiang@google.com> | 2020-11-09 10:01:34 +0000 |
commit | cb1d0d90afe152012ed0c425f965ea14a91a5a45 (patch) | |
tree | 735c9a172d2e86d1ab6172cabaadd2b77bddf4f5 /trusty/coverage/coverage.cpp | |
parent | 3d152c926bdef9a98a1b16b24215d4762310ed71 (diff) |
Use default DSU slot name when active DSU is empty
If host system is Android Q and guest system is S, then reenable DSU in
the guest system (`adb shell gsi_tool enable -s`) would create an empty
DSU active indicator file.
In this case, use the default slot name "DSU" if DSU active indicator
file is non-existent or empty.
Bug: 172541102
Bug: 168571434
Test: Boot GSI S on Pixel Q with DSU
Test: Verify reenable DSU works
Test: adb shell gsi_tool enable -s && adb reboot
Change-Id: Ie59e4378d1aa4dca085c399a75abd4e662340030
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions