Help with a Media button flow

Post your questions and help other users.

Moderator: Martin

Post Reply
Draxxx
Posts: 12
Joined: 18 May 2013 07:53

Help with a Media button flow

Post by Draxxx » 14 Aug 2014 01:56

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
Attachments
flow_Flashlight_20140814_114549.xml
(2.21 KiB) Downloaded 876 times

Post Reply