vold: Reduce logspam and add 250ms delay before first unmount attempt

Signed-off-by: San Mehat <san@google.com>
diff --git a/Volume.cpp b/Volume.cpp
index f1a9203..6a81eff 100644
--- a/Volume.cpp
+++ b/Volume.cpp
@@ -156,7 +156,7 @@
     sprintf(devicePath, "/dev/block/vold/%d:%d",
             MAJOR(diskNode), MINOR(diskNode));
 
-    LOGI("Volume %s (%s) MBR being initialized", getLabel(), devicePath);
+    LOGI("Formatting volume %s (%s)", getLabel(), devicePath);
 
     if (initializeMbr(devicePath)) {
         LOGE("Failed to initialize MBR (%s)", strerror(errno));
@@ -166,14 +166,11 @@
     sprintf(devicePath, "/dev/block/vold/%d:%d",
             MAJOR(partNode), MINOR(partNode));
 
-    LOGI("Volume %s (%s) being formatted", getLabel(), devicePath);
-
     if (Fat::format(devicePath)) {
         LOGE("Failed to format (%s)", strerror(errno));
         goto err;
     }
 
-    LOGI("Volume %s (%s) formatted sucessfully", getLabel(), devicePath);
     return 0;
 err:
     return -1;
@@ -260,7 +257,6 @@
             return -1;
         }
 
-        LOGI("%s checks out - attempting to mount\n", devicePath);
         errno = 0;
         if (!(rc = Fat::doMount(devicePath, getMountpoint(), false, false,
                                 1000, 1015, 0702, true))) {
@@ -289,6 +285,7 @@
     }
 
     setState(Volume::State_Unmounting);
+    usleep(1000 * 200); // Give the framework some time to react
     for (i = 0; i < 10; i++) {
         rc = umount(getMountpoint());
         if (!rc)