File tree Expand file tree Collapse file tree
app/src/main/kotlin/org/fossify/camera/helpers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10+ ### Fixed
11+
12+ - Fixed loud shutter sound on some devices ([ #97 ] )
13+
1014## [ 1.0.2] - 2025-05-28
1115
1216### Changed
@@ -36,3 +40,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3640[ 1.0.1 ] : https://github.com/FossifyOrg/Camera/compare/1.0.0...1.0.1
3741[ 1.0.0 ] : https://github.com/FossifyOrg/Camera/releases/tag/1.0.0
3842
43+ [ #97 ] : https://github.com/FossifyOrg/Camera/issues/97
Original file line number Diff line number Diff line change @@ -58,7 +58,6 @@ class MediaActionSound(private val context: Context) {
5858 .setAudioAttributes(
5959 AudioAttributes .Builder ()
6060 .setUsage(AudioAttributes .USAGE_ASSISTANCE_SONIFICATION )
61- .setFlags(AudioAttributes .FLAG_AUDIBILITY_ENFORCED )
6261 .setContentType(AudioAttributes .CONTENT_TYPE_SONIFICATION )
6362 .build()
6463 ).build()
@@ -101,7 +100,7 @@ class MediaActionSound(private val context: Context) {
101100 }
102101
103102 if (soundToBePlayed != null ) {
104- playWithSoundPool(soundToBePlayed!! )
103+ playWithSoundPool(soundToBePlayed)
105104 }
106105 break
107106 }
You can’t perform that action at this time.
0 commit comments