diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f347deea..769c239d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,9 @@ Group changes to describe their impact on the project, as follows: ## [4.7.0] - Unreleased +### Fixed +- Negative gain in audio settings is allowed again + ## [4.6.1] - 2022-02-14 ### Fixed diff --git a/app/src/main/res/layout/settings_audio_fragment.xml b/app/src/main/res/layout/settings_audio_fragment.xml index 75fa5a969..36cb83651 100644 --- a/app/src/main/res/layout/settings_audio_fragment.xml +++ b/app/src/main/res/layout/settings_audio_fragment.xml @@ -129,7 +129,7 @@ linphone:subtitle="@{@string/audio_settings_microphone_gain_summary}" linphone:listener="@{viewModel.microphoneGainListener}" linphone:defaultValue="@{viewModel.microphoneGain.toString()}" - linphone:inputType="@{InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_DECIMAL}"/> + linphone:inputType="@{InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_SIGNED | InputType.TYPE_NUMBER_FLAG_DECIMAL}"/> + linphone:inputType="@{InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_SIGNED | InputType.TYPE_NUMBER_FLAG_DECIMAL}"/>