Answer ringing call > doesn't work since And. 1.3.2019 patch

Post your questions and help other users.

Moderator: Martin

Post Reply
stefanprivat
Posts: 24
Joined: 28 Jan 2019 12:42

Answer ringing call > doesn't work since And. 1.3.2019 patch

Post by stefanprivat » 08 Apr 2019 15:25

Hi
Have several Samsung Galaxy S8, need to answer incoming calls automatic via action"answer ringing call".
Set in this action the mode "Methode 3 (Android 8*).
This worked fine on all my Samsung Galaxy S8 with Android security patch level 1. Feb. 2019, also when the screen was dark/sleeped.
After SW Upgrade to Android security patch level 1. March 2019, is doesnt work anymore, if the screen is dark/sleeps.
Calls only will be answered, if the screen not is dark/not in sleep mode.

Android 9

Does anyone know this problem?
Solution?

Best regards and thank you for the help

Stefan

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

Re: Answer ringing call > doesn't work since And. 1.3.2019 p

Post by Desmanto » 09 Apr 2019 01:39

When the screen is off dan called, didn't the screen turn on briefly? try again the flow with screen off, check the log afterward to see if the flow is triggered or not. If triggered, look at the log and see if the answer call action executed successfully or failed with error. If not triggered, it can be that the phone didn't send the event when screen is off. Can be a screen off event blocker or something similar. Try to check the app monitor/battery optimization feature
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.

stefanprivat
Posts: 24
Joined: 28 Jan 2019 12:42

Re: Answer ringing call > doesn't work since And. 1.3.2019 p

Post by stefanprivat » 09 Apr 2019 06:11

Hi Desmanto

Thank you for the answer, regarding your questions:
When the screen is off dan called, didn't the screen turn on briefly?
>> YES, with incoming call, screen turned ON

try again the flow with screen off, check the log afterward to see if the flow is triggered or not.
>> YES, triggered, log doesn't show an error (note: phone number modyfied in log):
9.04.2019 07:56:01.155 [TEST ANSWER call] Starting to execute flow 'TEST ANSWER call' with Context{global{},local{flow_name=TEST ANSWER call,call_missed_rejected=false,trigger=Incoming Call. State: Ringing, Numbers: All,call_state=RINGING,incoming_number=+41xyz,triggertime=1554789361130}}
09.04.2019 07:56:01.156 [TEST ANSWER call] Start executing action 'Answer Ringing Call'
09.04.2019 07:56:01.162 [TEST ANSWER call] End executing action 'Answer Ringing Call'
09.04.2019 07:56:01.167 [TEST ANSWER call] Flow ended.

.Can be a screen off event blocker or something similar. Try to check the app monitor/battery optimization feature:
>> Battery optimization == OFF for Automagic
>> All rights granted like : phone, micro, call log
>> "Appear on top" and "change system settings" also ON for Automagic
>> "Accessibility Service" is ON.

Just now again reproduced with another Samsung S8:
Android 9 with patch level 1. Feb. 2019 >> Answer ringing call works
upgraded to:
Android 9 with patch level 1. March 2019 >> Answer ringing call DOESNT WORK ANYMORE



!!! UPDATE !!!!:
Isue found, set a "sleep: 2 sec" beteween trigger of incoming call and action "answer ringing call" >>> Now it works again.

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

Re: Answer ringing call > doesn't work since And. 1.3.2019 p

Post by Desmanto » 10 Apr 2019 08:13

Oh. Maybe when sleep, the OS delay the availability to pick up the phone. While Automagic send the instruction to answer the call immediately. Glad you found the solution already. This maybe can be applied to some other similar random bug from various ROM problem.
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