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

Commit 21f2f81e authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 6564423 from 5bcc8f8a to rvc-release

Change-Id: Iaf883a0ba6010b5b1ea424e78fd59cc9a44cbd9e
parents 13792d21 5bcc8f8a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1074,6 +1074,7 @@ binder::Status InstalldNativeService::restoreAppDataSnapshot(
            res = error(rc, "Failed copying " + from_ce + " to " + to_ce);
            return res;
        }
        delete_dir_contents_and_dir(from_ce, true /* ignore_if_missing */);
    }

    if (needs_de_rollback) {
@@ -1090,6 +1091,7 @@ binder::Status InstalldNativeService::restoreAppDataSnapshot(
            res = error(rc, "Failed copying " + from_de + " to " + to_de);
            return res;
        }
        delete_dir_contents_and_dir(from_de, true /* ignore_if_missing */);
    }

    // Finally, restore the SELinux label on the app data.