mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 11:58:09 +00:00
Display the volume toast when changing it
This commit is contained in:
parent
5a0af7a80c
commit
c84e4fa732
1 changed files with 1 additions and 1 deletions
|
|
@ -1221,7 +1221,7 @@ public class LinphoneManager implements LinphoneCoreListener {
|
|||
mLc.setPlaybackGain((nextVolume - maxVolume)* dbStep);
|
||||
} else
|
||||
// starting from ICS, volume must be adjusted by the application, at least for STREAM_VOICE_CALL volume stream
|
||||
mAudioManager.adjustStreamVolume(LINPHONE_VOLUME_STREAM, i < 0 ? AudioManager.ADJUST_LOWER : AudioManager.ADJUST_RAISE, 0);
|
||||
mAudioManager.adjustStreamVolume(LINPHONE_VOLUME_STREAM, i < 0 ? AudioManager.ADJUST_LOWER : AudioManager.ADJUST_RAISE, AudioManager.FLAG_SHOW_UI);
|
||||
}
|
||||
|
||||
public static Boolean isProximitySensorNearby(final SensorEvent event) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue