am 97a67cc2: Merge change 7544 into donut

Merge commit '97a67cc281805566d429d4ca6570348fcf6dabd9'

* commit '97a67cc281805566d429d4ca6570348fcf6dabd9':
  sdutil: Up the mount/unmount wait times to account for disk check + reaper time
This commit is contained in:
Android (Google) Code Review
2009-07-17 02:09:02 -07:00
committed by Android Git Automerger

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;
}