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

Commit d2a59288 authored by Elliott Hughes's avatar Elliott Hughes Committed by Android Git Automerger
Browse files

am 22ccc87a: Merge "Unmount sdcard if no package file is selected."

* commit '22ccc87a':
  Unmount sdcard if no package file is selected.
parents e21ff08e 22ccc87a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -767,6 +767,7 @@ static int apply_from_sdcard(Device* device, bool* wipe_cache) {
    char* path = browse_directory(SDCARD_ROOT, device);
    if (path == NULL) {
        ui->Print("\n-- No package file selected.\n");
        ensure_path_unmounted(SDCARD_ROOT);
        return INSTALL_ERROR;
    }