diff options
author | San Mehat <san@google.com> | 2009-07-16 10:29:23 -0700 |
---|---|---|
committer | San Mehat <san@google.com> | 2009-07-16 10:29:23 -0700 |
commit | 9b0a5e57db8d3b701919d64d26269a9fa656e3be (patch) | |
tree | 0cdd458cce94b9c846970acd14fba3b9f64e9ae5 /media/sdutils | |
parent | 8e3c3f6461b53dc587ba92b3fe8cfbeb985f8514 (diff) | |
download | frameworks_base-9b0a5e57db8d3b701919d64d26269a9fa656e3be.zip frameworks_base-9b0a5e57db8d3b701919d64d26269a9fa656e3be.tar.gz frameworks_base-9b0a5e57db8d3b701919d64d26269a9fa656e3be.tar.bz2 |
sdutil: Up the mount/unmount wait times to account for disk check + reaper time
Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'media/sdutils')
-rw-r--r-- | media/sdutils/sdutil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media/sdutils/sdutil.cpp b/media/sdutils/sdutil.cpp index a9aabf0..06120f5 100644 --- a/media/sdutils/sdutil.cpp +++ b/media/sdutils/sdutil.cpp @@ -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; } |