sdutil: Up the mount/unmount wait times to account for disk check + reaper time
Signed-off-by: San Mehat <san@google.com>
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 @@
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 @@
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;
}