mountservice: Shut down volumes before restarting framework

 * Vold assumes that when FUSE is killed, the mount is gone. This
   isn't true with sdcardfs, since the daemon doesn't continue
   to run. Cryptfs was assuming this behavior, and the system would
   hang during decryption since the emulated storage doesn't get
   unmounted.
 * Send the shutdown command before committing suicide.

Change-Id: Ifcfa63f0499a717f34482754cea95b90622290c6
Reviewed-on: http://review.blissroms.com/3733
Reviewed-by: Vaughn N <rwaterspf1@floydco.net>
Reviewed-by: blueyes <brian.w.petroski@gmail.com>
Tested-by: blueyes <brian.w.petroski@gmail.com>
1 file changed