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:
committed by
Android Git Automerger
commit
9e1bd09c15
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user