diff options
author | Bartlomiej Moskal <bartlomiej.moskal@qt.io> | 2024-05-08 08:59:14 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-05-16 15:36:55 +0000 |
commit | 3a1288ced8aca3b12a83d961a5a707f2d598680b (patch) | |
tree | 19420fc636edf7f4d6ddf2121c99bd68f0905a01 /examples/multimedia/audiodevices | |
parent | 94d8cc0a9c724dc9d5d0f24f15f0641878c22a69 (diff) |
Android: Use MODE_NORMAL for speaker if possible6.7
Using MODE_IN_COMMUNICATION allows to properly control audio devices
(like changes between Bluetooth and speaker), but the consequences are
the issues with Volume Button. At begginig it changes the "Call volume".
After some time it starts to control the "Media volume".
If there are no bluetooth or wired headset, the MODE_NORMAL will be
used for speaker. That allows to avoid issue with Volume Button.
In case when there are bluetooth or wired headset we need to use
MODE_IN_COMMUNICATION anyway.
Fixes: QTBUG-123044
Pick-to: 6.5
Change-Id: I7bfea28a971bca1b596622bf604f65941c0afe42
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit 5c8dde861efcbcdde009b2181ea17c09b955d92c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/multimedia/audiodevices')
0 files changed, 0 insertions, 0 deletions