Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void playSound(int soundId) {
- if ((soundId == CameraSound.SHUTTER_CLICK) || (soundId == CameraSound.START_VIDEO_RECORDING) || (soundId == CameraSound.STOP_VIDEO_RECORDING))
- mShutterSoundPreference = new ShutterSoundPreference(this, null);
- if (mShutterSoundPreference.getValue().equals("on"))
- mCameraSound.playSound(soundId);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement