зеркало из https://github.com/mozilla/gecko-dev.git
Bug 851823 - Disable shutter sound in CameraService. r=sotaro
This commit is contained in:
Родитель
18e74f4235
Коммит
5a6f3aa1f9
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче