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

Commit 85c0f3e5 authored by Daniel Zheng's avatar Daniel Zheng
Browse files

Updated location of initialization

Test: tested flashall on raven
Bug: 194686221
Change-Id: Ie0dd7acd65833a938623e374e2b21e6bd6079d08
parent f1ddba9d
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1621,9 +1621,7 @@ void FlashAllTool::Flash() {
    // or in bootloader fastboot.
    FlashImages(boot_images_);

    auto flash_super_task = FlashSuperLayoutTask::Initialize(fp_, os_images_);

    if (flash_super_task) {
    if (auto flash_super_task = FlashSuperLayoutTask::Initialize(fp_, os_images_)) {
        flash_super_task->Run();
    } else {
        // Sync the super partition. This will reboot to userspace fastboot if needed.