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

Commit 6367e895 authored by Alexander Koskovich's avatar Alexander Koskovich
Browse files

core: fastboot: Fix data not being wiped on do_update

 * With platform-tools-34.0.4 if you try to wipe data
   as apart of the fastboot update command it will not
   work, will just reboot to userspace without running
   the wipe task.

Test: fastboot -w update image.zip, observe that data
      gets wiped. Also verified 'fastboot update image.zip'
      does *not* wipe data.
Change-Id: I57a2c64029fd4f78968324bdf60251e1e962b3fd
parent babf3a98
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1944,7 +1944,6 @@ static void do_update(const char* filename, FlashingPlan* fp) {
    }
    ZipImageSource zp = ZipImageSource(zip);
    fp->source = &zp;
    fp->wants_wipe = false;
    FlashAllTool tool(fp);
    tool.Flash();