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

Commit d8be2394 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents b95dd90c f4ae56b8
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());
}