sdutil: Up the mount/unmount wait times to account for disk check + reaper time

Signed-off-by: San Mehat <san@google.com>
This commit is contained in:
San Mehat
2009-07-16 10:29:23 -07:00
parent 8e3c3f6461
commit 9b0a5e57db

View File

@@ -88,7 +88,7 @@ static int mount(const char* path) {
String16 string(path);
gMountService->mountMedia(string);
for (int i = 0; i < 10; i++) {
for (int i = 0; i < 60; i++) {
if (isMounted(path)) {
return 0;
}
@@ -103,7 +103,7 @@ static int unmount(const char* path) {
String16 string(path);
gMountService->unmountMedia(string);
for (int i = 0; i < 10; i++) {
for (int i = 0; i < 20; i++) {
if (!isMounted(path)) {
return 0;
}