B2G/gecko/toolkit/mozapps/update/nsUpdateService.js
/**
 * Acquires a VolumeMountLock for the sdcard volume.
 *
 * This prevents the SDCard from being shared with the PC while
 * we're downloading the update.
 */
Acquires a VolumeMountLock for the sdcard volume.
This prevents the SDCard from being shared with the PC while
we're downloading the update.
Acquires a VolumeMountLock for the sdcard volume . This prevents the SDCard from being shared with the PC while we ' re downloading the update .
function acquireSDCardMountLock() {
  let volsvc = Cc["@mozilla.org/telephony/volume-service;1"].
                    getService(Ci.nsIVolumeService);
  if (volsvc) {
    gSDCardMountLock = volsvc.createMountLock("sdcard");
  }
}
function acquireSDCardMountLock ( ) { let volsvc = Cc [ "@mozilla.org/telephony/volume-service;1" ] . getService ( Ci . nsIVolumeService ) ; if ( volsvc ) { gSDCardMountLock = volsvc . createMountLock ( "sdcard" ) ; } }
Acquires a VolumeMountLock for the sdcard volume.
Acquires a VolumeMountLock for the sdcard volume .