Skip to content

Instantly share code, notes, and snippets.

@julianlam
Last active November 24, 2021 17:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save julianlam/0658d8437a09e409b44ca1c83c541882 to your computer and use it in GitHub Desktop.
Save julianlam/0658d8437a09e409b44ca1c83c541882 to your computer and use it in GitHub Desktop.
Alibaba Android App Considered Harmful to Active Bluetooth Connections #blog

I hope you'll excuse the editorialized title – after all I do have a sense of humour :)

Awhile back, I started experiencing a very weird issue with my various Bluetooth-enabled audio interfaces on my phone.

In my car (a Mazda CX-5), it would think a phone call was active, even though it wasn't. My car would think the phone call was coming from my phone number, but there would of course be nobody else on the other end. Any time a phone call is active, it interrupts whatever audio is playing, be it audio streaming from the phone, or even FM radio. If the "phone calls" permission was enabled, then any streaming audio would play through the phantom phone call! The audio quality was complete crap, as well.

On various Bluetooth-enabled headsets, audio would cut out after some seconds to minutes, and my media would pause. On resume, it would resume playing on the phone speaker itself, and no amount of fiddling would cause it to come back.

I thought it might've been my upgrade to Android 12, but I was reasonably certain that these issues started happening before I had upgraded. Almost every avenue of research came up short. There are literally thousands of articles about Bluetooth call or audio quality, connection loss, etc., but none of them were specifically related to my use case. After many days of research, I did end up finding the cause.

In the end, the root cause was the Alibaba app on my phone. It was probably buggy, starting some phone calls from the perspective of the Bluetooth interface. Maybe they are listening in, maybe they are not :)

Either way, I uninstalled the app and everything is ship-shape again. Hopefully this helps somebody else!

Links

@frank-da-tank
Copy link

This is disconcerting to me that it is acting like it's on a phone call. But hey, it's an app from a major china retailer. Probably nothing to worry about. Anyways, thanks for posting this!

@julianlam
Copy link
Author

@frank-da-tank me as well! It definitely did give me pause when I discovered the culprit, but as I do not use the app often (just one bulk order), I uninstalled and moved on with my day.

Unfortunately I do not have the debugging skills to probe further, but best to not let speculation run wild 🙂

It's probably not a bug... Until it isn't :shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment