Hi Guys, 
I have the attached flow, which basically uses a xiaomi media button to activate the flashlight. 
It works perfectly. 
However, I just realised that when the media plug is plugged in, all audio (calls, notifications etc) 
are routed through the headphone jack, and hence, I cannot hear them.
Does anyone know how to set up this flow so all audio goes through the normal paths?
Or would I be better off setting a widget to toggle the sound output path, so when I do use 
headphones, audio does go through the jack?
Anyway, all ideas welcome.
Thanks! 
Dx
							Help with a Media button flow
Moderator: Martin
Help with a Media button flow
- Attachments
- 
			
		
		
				- flow_Flashlight_20140814_114549.xml
- (2.21 KiB) Downloaded 965 times