Skip to content

OboeTester: Move setMode inside CommunicationDeviceView#2374

Open
robertwu1 wants to merge 1 commit intomainfrom
robertwu/movesetmode
Open

OboeTester: Move setMode inside CommunicationDeviceView#2374
robertwu1 wants to merge 1 commit intomainfrom
robertwu/movesetmode

Conversation

@robertwu1
Copy link
Copy Markdown
Collaborator

Fixes #2371

On new Android versions, AudioManager.setMode() now clears if it's not used within 6 seconds.

AudioManager.setMode() is also deprecated in favor of AudioManager.setCommunicationDevice(AudioDeviceInfo).

Thus, moving setMode() next to the communication device view.

@robertwu1 robertwu1 requested a review from flamme April 16, 2026 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Audio mode may not be useful in OboeTester

2 participants