One example is when I want to switch from Bluetooth to speaker that it just accept my choice and not switch back.
iOS does the same thing. Constantly. A Bluetooth device goes out of range and the back in, and the iPhone is like "Squirrel!" and switches. But on iOS, it is even more obnoxious. I have a home phone system that can take calls from your cell phone, but only if you pick up the handset and answer the call. Otherwise, when it tries to send the call over to that Bluetooth "speaker", the handset rejects the connection request and the audio switches back to the device. But worse, it switches OFF the speakerphone mode and switches back to phone-to-the-ear mode. So not only do you completely lose five seconds of audio during the failed handshake, but you also end up not being able to hear afterwards until you manually turn the speakerphone mode back on.
I filed a bug about this at least five years ago and Apple still hasn't fixed it. And it pisses me off so much that if I had more free time, I'd develop my own whole f**king mobile OS just so that I could have full manual control over when the device switches sound outputs. The number of times I have wanted my device to switch automatically to Bluetooth is EXACTLY zero, because the device has no idea if earbuds are actually in my ears or headphones are on my head. It has no idea whether I'm actually in the same room as the speaker or ten feet away. It has no idea if I want to use the earbuds with my Mac or my iPhone. It has no idea if I want my device to connect to the sound system in our rehearsal room, or if one of my colleagues is about to use it with her phone. The phone should not be in control. The user should.
How hard is it to just have a f**king headphones icon at the top of the screen that the user can tap to switch to a different audio input/output, and make that button show a list of sources, including silently discovered (but not connected) Bluetooth sources, and automatically connect to the Bluetooth device in the background when you select it, and wait to change audio over to that Bluetooth device until after it has successfully connected and verified that it can actually pass audio to the device?
Hell, at this point, I'd settle for a setting that disables automatic connection to a specific Bluetooth device. We can turn off automatic association for WiFi. Why the h*** don't we have that for Bluetooth? What a**hole thought to himself, "This Bluetooth device is suddenly just barely within range; let's switch to it and see if we can make the user so angry that he throws his phone across the room so we can sell him a new phone?"
Seriously, this is something that should have been 100% solved twenty-five years ago, and sure as h*** should have been solved before companies started ripping the headphone jacks off of devices, and instead, the entire f**king industry has a user experience that can only be described as absolute garbage because nobody at any of these companies who is making bug prioritization decisions apparently has any Bluetooth gear that is paired with more than one f**king device. How is this simple and obvious design pattern still so badly broken across every major mobile platform? Why do users tolerate such actively user-hostile behavior from their devices? And why isn't fixing this s**tshow a P1/P0 bug?
I just don't get it.