Off-hook condition

Post your questions and help other users.

Moderator: Martin

Post Reply
JoeSweeney
Posts: 2
Joined: 26 Sep 2014 22:42

Off-hook condition

Post by JoeSweeney » 19 Dec 2014 20:51

Hey gang,

I have a flow that announces calendar events. To ensure that the flow does not interrupt g ongoing phone calls, I have placed a Off-hook condition as the first item in the flow. If the Off-hook condition returns false the flow continues, otherwise it terminates.
However, it appears as if the Off-hook condition is *never* true, even when I am on a call.
I am running on a Galaxy Note 3, rooted, Android 4.4.
Can others confirm if the Off-hook condition works.

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: Off-hook condition

Post by MURTUMA » 19 Dec 2014 21:09

In my device it works flawlessly.

I have no idea what the problem might be, but as a workaround try setting to "idle" and changing true path to false and so on... Idle means that there's nothing going on related to calls so basically that is just changing the logic other way around.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Off-hook condition

Post by Martin » 19 Dec 2014 22:06

Hi,

The condition also works for me on a stock Samsung Note3 with Android version 4.4.2 (not rooted) with both incoming and outgoing calls.

Please try to use the condition in isolation so other problems can be eliminated:
-create a new flow
-add a condition Call State: Off-hook and let the condition configuration open
-call a number (outgoing call is also in Off-hook state when it's still ringing for the other party)
-switch back to the condition and press menu->Execute while the call is active
The condition should show a notification with either True or False. Still False?

Are you using any Xposed modules, Xprivacy or other security apps that could prevent Automagic from seeing the correct call state?

Regards,
Martin

Post Reply