Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 97a67cc2 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 7544 into donut

* changes:
  sdutil: Up the mount/unmount wait times to account for disk check + reaper time
parents 9db0d36c 9b0a5e57
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
        }