Merge "KeyStore.reset changes"

This commit is contained in:
Brian Carlstrom 2011-06-02 17:02:38 -07:00 committed by Android (Google) Code Review
commit b0606c408f

View File

@ -392,10 +392,8 @@ public:
return false; return false;
} }
while ((file = readdir(dir)) != NULL) { while ((file = readdir(dir)) != NULL) {
if (isKeyFile(file->d_name)) {
unlink(file->d_name); unlink(file->d_name);
} }
}
closedir(dir); closedir(dir);
return true; return true;
} }