OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
147e799
)
Fix a bug of not deleting previously added config files on disk
author
yro
<yro@google.com>
Wed, 14 Feb 2018 06:06:34 +0000
(22:06 -0800)
committer
yro
<yro@google.com>
Wed, 14 Feb 2018 06:07:43 +0000
(22:07 -0800)
Bug:
73304022
Test: statsd_test
Change-Id: Ic024d40da97ed79cb405a5da1f0c9abac0436b34
cmds/statsd/src/config/ConfigManager.cpp
patch
|
blob
|
history
diff --git
a/cmds/statsd/src/config/ConfigManager.cpp
b/cmds/statsd/src/config/ConfigManager.cpp
index
06ff603
..
fbb0fdd
100644
(file)
--- a/
cmds/statsd/src/config/ConfigManager.cpp
+++ b/
cmds/statsd/src/config/ConfigManager.cpp
@@
-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());
}