Skip to content

Forced Bluetooth doesn't seem to work #1

Description

@kelno

When trying to force the Input to "Bluetooth microphone - Force active", the input is only switched to "BT-Available", and apps indeed don't seem to use bluetooth mic, they keep using the internal microphone. The "Disable internal microphone" doesn't seem to work either, as it's still in use in my testing. It's also possible I only tested apps where the "force BT" is ignored by apps, and the real issue here is that the "Disable internal microphone" isn't working.
(I'm not sure the proper behavior is seeing another text than "BT-Available" as input, maybe it's supposed to be this text even if it's forced?)

Tested on Whatsapp voice messages, Signal voice messages, Telegram voice messages, (LineageOS) Recorder.
I have LineageOS 21 (Android 14). Magisk 28003.
(The issue is also the same with the different APK included in the forked repo https://github.com/michioxd/LesserAudioSwitchAndroid11)

Here is an unfiltered logcat, where we can see a bunch of errors related to Lesser Audio Switch.
logcat.zip

This part especially seemed like a major failure to me:

12-05 19:10:40.960  8303  8311 I sserAudioSwitch: Method exceeds compiler instruction limit: 33486 in void oo.u(to)
12-05 19:10:40.961  8303  8335 I System.out: [Landroid.content.pm.Signature;@23f6f97
12-05 19:10:40.967  1149  8535 W AidlConversionCppNdk: legacy2aidl_audio_channel_mask_t_AudioChannelLayout: no AudioChannelLayout found for legacy output audio_channel_mask_t value 0x10
12-05 19:10:40.968  8303  8335 W AidlConversionCppNdk: aidl2legacy_AudioChannelLayout_audio_channel_mask_t: no legacy output audio_channel_mask_t found for AudioChannelLayout{layoutMask: 16}

I'm an experienced dev but I have 0 experience with Android development, I can learn some stuff but this looks like a can of worms I shouldn't open right now. So help is welcome!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions