format .android_secure on RM data wipe.

Change-Id: If417334263f577f0f1ca9a8c5bf6b63582dbb09f
This commit is contained in:
Koushik Dutta 2011-04-23 19:01:16 -07:00
parent 1f1a274ecc
commit 7364e82a5f

View File

@ -141,6 +141,10 @@ Value* FormatFn(const char* name, State* state, int argc, Expr* argv[]) {
free(path);
return StringValue(strdup(""));
}
if (0 != format_volume("/sdcard/.android_secure")) {
free(path);
return StringValue(strdup(""));
}
}
done: