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

Commit 7cc6afa1 authored by Chirayu Desai's avatar Chirayu Desai
Browse files

Don't print any messages regarding sd-ext to the UI

 * It is ancient.

Change-Id: Ie2e31f9e3c8a2753dccb1bd42425cd5b0ce7780b
parent 83e26bfb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -652,7 +652,7 @@ int format_unknown_device(const char *device, const char* path, const char *fs_t
        Volume *vol = volume_for_path("/sd-ext");
        if (vol == NULL || 0 != stat(vol->blk_device, &st))
        {
            ui_print("No app2sd partition found. Skipping format of /sd-ext.\n");
            LOGI("No app2sd partition found. Skipping format of /sd-ext.\n");
            return 0;
        }
    }
+2 −2
Original line number Diff line number Diff line
@@ -439,12 +439,12 @@ int nandroid_backup(const char* backup_path)
    vol = volume_for_path("/sd-ext");
    if (vol == NULL || 0 != stat(vol->blk_device, &s))
    {
        ui_print("No sd-ext found. Skipping backup of sd-ext.\n");
        LOGI("No sd-ext found. Skipping backup of sd-ext.\n");
    }
    else
    {
        if (0 != ensure_path_mounted("/sd-ext"))
            ui_print("Could not mount sd-ext. sd-ext backup may not be supported on this device. Skipping backup of sd-ext.\n");
            LOGI("Could not mount sd-ext. sd-ext backup may not be supported on this device. Skipping backup of sd-ext.\n");
        else if (0 != (ret = nandroid_backup_partition(backup_path, "/sd-ext")))
            return ret;
    }