Bug 851823 - Disable shutter sound in CameraService. r=sotaro

This commit is contained in:
Ben Tian 2013-03-27 11:19:10 -04:00
parent 80b81fa6cb
commit b02137288e

View File

@ -173,6 +173,9 @@ GonkCameraHardware::Init()
}
DOM_CAMERA_LOGI("Sensor orientation: base=%d, offset=%d, final=%d\n", info.orientation, offset, mSensorOrientation);
// Disable shutter sound in android CameraService because gaia camera app will play it
mCamera->sendCommand(CAMERA_CMD_ENABLE_SHUTTER_SOUND, 0, 0);
mNativeWindow = new GonkNativeWindow();
mNativeWindow->setNewFrameCallback(this);
mCamera->setListener(this);