We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2577525 commit 55c30caCopy full SHA for 55c30ca
1 file changed
app/src/main/kotlin/com/simplemobiletools/camera/helpers/MediaActionSound.kt
@@ -100,7 +100,7 @@ class MediaActionSound(private val context: Context) {
100
101
private fun loadSound(sound: SoundState): Int {
102
var id = 0
103
- if (sound.mediaSound == null) {
+ if (sound.mediaSound == null || soundPool == null) {
104
return 0
105
}
106
0 commit comments