~aleteoryx/muditaos

a4a1e9bdd96cba7dd8b98a1bf16e8a72e2976eaf — Marek Niepieklo 4 years ago 7fbaf73
[CP-755] Audio assets missing after restoring user data

Incorrectly populated multimedia.db backup with quotes.db contents
was restored causing audio assets not available.

Additionally, multimedia.db is not needed as part of backup,
so it's now removed from backed up user data.
1 files changed, 0 insertions(+), 5 deletions(-)

M products/PurePhone/services/db/ServiceDB.cpp
M products/PurePhone/services/db/ServiceDB.cpp => products/PurePhone/services/db/ServiceDB.cpp +0 -5
@@ 288,11 288,6 @@ bool ServiceDB::StoreIntoBackup(const std::filesystem::path &backupPath)
        return false;
    }

    if (quotesDB->storeIntoFile(backupPath / std::filesystem::path(multimediaFilesDB->getName()).filename()) == false) {
        LOG_ERROR("multimediaFilesDB backup failed");
        return false;
    }

    if (notificationsDB->storeIntoFile(backupPath / std::filesystem::path(notificationsDB->getName()).filename()) ==
        false) {
        LOG_ERROR("notificationsDB backup failed");