mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-06-27 09:02:59 +02:00
Merge pull request #395 from Naveen3Singh/recording_quick_fix
Start recording anyway when shutter sound fails
This commit is contained in:
@@ -152,6 +152,7 @@ class MediaActionSound(private val context: Context) {
|
||||
val soundId = loadSound(sound)
|
||||
if (soundId <= 0) {
|
||||
Log.e(TAG, "play() error loading sound: $mediaSound")
|
||||
onPlayComplete?.invoke()
|
||||
} else {
|
||||
sound.state = STATE_LOADING_PLAY_REQUESTED
|
||||
}
|
||||
|
Reference in New Issue
Block a user