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

Commit f4ae56b8 authored by yro's avatar yro
Browse files

Fix a bug of not deleting previously added config files on disk

Bug: 73304022
Test: statsd_test
Change-Id: Ic024d40da97ed79cb405a5da1f0c9abac0436b34
parent 147e7996
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ void ConfigManager::RemoveConfig(const ConfigKey& key) {
}

void ConfigManager::remove_saved_configs(const ConfigKey& key) {
    string suffix = StringPrintf("%d-%lld", key.GetUid(), (long long)key.GetId());
    string suffix = StringPrintf("%d_%lld", key.GetUid(), (long long)key.GetId());
    StorageManager::deleteSuffixedFiles(STATS_SERVICE_DIR, suffix.c_str());
}