Hey guys, here is the deal, I created two profiles so that when I turned my phone face down when a Call is Incoming it would turn silent mode on and when it turns face up the silent mode turns off. I did it like this:
Profile Face Up:
Conditions:
State Call Incoming + State Orientation Face Up
Enter:
Variable Set %SCRDOWN ~ 0
Exit:
Variable Set %SCRDOWN ~ 1
Profile Face Down:
Conditions:
State Call Incoming + State Orientation Face Down
Enter:
If %SCRDOWN ~ 1:
Silent mode
n
End If
Exit:
Variable Set %SCRDOWN ~ 0
When I'm receiving a call it works perfectly but the problem is when the call is over or I stop receiving it, the variable %SCRDOWN value continues being 1 instead of 0, so if my phone is already facing down when I receive a call, it won't play the ringtone, the silent mode will be turned on. It is like the Profile Face Down is not doing the Exit. Does anyone knows how to help me?
Thank you.
Profile Face Up:
Conditions:
State Call Incoming + State Orientation Face Up
Enter:
Variable Set %SCRDOWN ~ 0
Exit:
Variable Set %SCRDOWN ~ 1
Profile Face Down:
Conditions:
State Call Incoming + State Orientation Face Down
Enter:
If %SCRDOWN ~ 1:
Silent mode
n End If
Exit:
Variable Set %SCRDOWN ~ 0
When I'm receiving a call it works perfectly but the problem is when the call is over or I stop receiving it, the variable %SCRDOWN value continues being 1 instead of 0, so if my phone is already facing down when I receive a call, it won't play the ringtone, the silent mode will be turned on. It is like the Profile Face Down is not doing the Exit. Does anyone knows how to help me?
Thank you.
