From a4a1e9bdd96cba7dd8b98a1bf16e8a72e2976eaf Mon Sep 17 00:00:00 2001 From: Marek Niepieklo Date: Thu, 21 Oct 2021 13:26:59 +0200 Subject: [PATCH] [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. --- products/PurePhone/services/db/ServiceDB.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/products/PurePhone/services/db/ServiceDB.cpp b/products/PurePhone/services/db/ServiceDB.cpp index c7a75aac2033ce2af10dcd2d203afcc940544f32..212afc0772b17ac936807bd670efb0c566c31685 100644 --- a/products/PurePhone/services/db/ServiceDB.cpp +++ b/products/PurePhone/services/db/ServiceDB.cpp @@ -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");