Ringer mode trigger on Andoid 10 issue

Post your questions and help other users.

Moderator: Martin

Post Reply
m4gzus
Posts: 4
Joined: 29 Sep 2019 18:13

Ringer mode trigger on Andoid 10 issue

Post by m4gzus » 30 Nov 2019 13:31

I got an issue with flow that is triggered with Ringer mode trigger on Android 10 (and 9th also).
If the flow starts with any Ringer Mode trigger in Android 10 the Automagic stops execution and switchs off that flow with message "Interrupting and disabling flow".
In the log file I have next lines
30.11.2019 15:10:33.021 [Manual ringer mode] Emergency stop count reached, disabling flow and current flow execution
30.11.2019 15:10:33.055 [Manual ringer mode] Emergency stop reached, stopping flow execution
Even if set emergency stop limit over 60 actions (e.g. 600 or more), this stop occurs anyway.
Usualy issue reproduces when the ringer mode is changed manually from notiofication area.
Flow execution policy in this case is set to "Wait until the current executing instance has finished".
A little bit helps policy "Skip execution when an instance is already executing", but anyway this issue occurs.
If it may help I got this issue on Xiami 9T Pro with Android 10.

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Ringer mode trigger on Andoid 10 issue

Post by Desmanto » 01 Dec 2019 18:31

Using Skip should have prevent the multiple triggers. Try to add at least 500ms sleep at the end of the flow.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Post Reply