Merge "Disable DSU in recovery mode" into main
This commit is contained in:
commit
db6cb42d5f
1 changed files with 1 additions and 1 deletions
|
@ -716,7 +716,7 @@ bool ReadFstabFromFile(const std::string& path, Fstab* fstab) {
|
|||
if (!ReadFstabFromFileCommon(path, fstab)) {
|
||||
return false;
|
||||
}
|
||||
if (path != kProcMountsPath) {
|
||||
if (path != kProcMountsPath && !InRecovery()) {
|
||||
if (!access(android::gsi::kGsiBootedIndicatorFile, F_OK)) {
|
||||
std::string dsu_slot;
|
||||
if (!android::gsi::GetActiveDsu(&dsu_slot)) {
|
||||
|
|
Loading…
Reference in a new issue