Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db6cb42d authored by Chun-Wei Wang's avatar Chun-Wei Wang Committed by Gerrit Code Review
Browse files

Merge "Disable DSU in recovery mode" into main

parents 97807b79 222ffc59
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)) {