Vibrate action is interrupted by Lock Device action

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
heilong
Posts: 77
Joined: 18 Oct 2016 15:20

Vibrate action is interrupted by Lock Device action

Post by heilong » 09 Nov 2016 20:39

Create a test flow.
Action "Lock Device" -> Action "Vibrate: Pattern 8 (.....)"
Execute the flow. On my device, the screen turns off, phone vibrates once or twice, then the vibration is cut off.
If I add a "Sleep 1s" action between "Lock Device" and "Vibrate", screen turns off and 1 second later phone vibrates 5 times, as expected.

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

Re: Vibrate action is interrupted by Lock Device action

Post by Martin » 10 Nov 2016 20:34

I've noticed this side effect too. However I'm not sure why Android implements the lock feature this way. Delaying the lock seems to be the only option to avoid the effect.

Regards,
Martin

User avatar
heilong
Posts: 77
Joined: 18 Oct 2016 15:20

Re: Vibrate action is interrupted by Lock Device action

Post by heilong » 10 Nov 2016 22:51

Got it. So, no workarounds (other than sleeping)?

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

Re: Vibrate action is interrupted by Lock Device action

Post by Martin » 11 Nov 2016 20:24

No, I'm not aware about any other workaround than sleeping.

Regards,
Martin

Post Reply