Outgoing Call bug?

Post your questions and help other users.

Moderator: Martin

Post Reply
colabi
Posts: 134
Joined: 06 Jan 2013 22:33

Outgoing Call bug?

Post by colabi » 19 Feb 2014 12:02

Case1
Trigger: Outgoing Call - All - Off-Hook >
Condition: Call State - Off-Hook > true >
Actiun: Vibrate
-allways return value false

Case2
Trigger: Outgoing Call - All - Off-Hook >
Action: Sleep - 1s
Condition: Call State - Off-Hook > true >
Actiun: Vibrate
-allways return value false

Case3
Trigger: Outgoing Call - All - Off-Hook >
Action: Sleep - 2s
Condition: Call State - Off-Hook > true >
Actiun: Vibrate
-return value true

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

Re: Outgoing Call bug?

Post by Martin » 19 Feb 2014 17:52

That's an interesting finding. The Android API used to query the call state seems not to be consistent with the telephony events but needs some time until it recognizes the new call state.
I could probably add a setting to wait some seconds until 'Off-hook' is checked, but I'm not sure if this could cause unwanted side effects in some other cases. I have to check if there's a better solution to this.

Post Reply