Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4bc3cef7 authored by Steve Kondik's avatar Steve Kondik
Browse files

Revert "Camera: add command line option to disable shutter sound at runtime"

This reverts commit fbb4bf87.
parent 317b7e66
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -232,9 +232,7 @@ CameraService::Client::Client(const sp<CameraService>& cameraService,
    mHardware->enableMsgType(CAMERA_MSG_ERROR |
                             CAMERA_MSG_ZOOM |
                             CAMERA_MSG_FOCUS);
    property_get("persist.camera.shutter.disable", value, "0");
    int disableShutterSound = atoi(value);
    if(disableShutterSound != 1)

    mMediaPlayerClick = newMediaPlayer("/system/media/audio/ui/camera_click.ogg");
    mMediaPlayerBeep = newMediaPlayer("/system/media/audio/ui/VideoRecord.ogg");
    mOverlayW = 0;