End call not working in automagic. But works in macrodroid.

Post your questions and help other users.

Moderators: MURTUMA, Martin

Posts: 6
Joined: 15 Aug 2017 03:56

End call not working in automagic. But works in macrodroid.

Postby icefox56 » 11 Jan 2019 21:51

I want to create a flow that reject/end call when I dial a number during certain period.

But the "End call" action is not working. I just downloaded MacroDroid and tried to create similar flow, and the "Reject call" action worked.

I have no interest in using macrodroid just for one flow. So can any one suggest a workaround to "End call" action.

I run android 8.1
My phone is rooted

PS: also Martin can you take a look at the "End call" action, and see if automagic can implement it the same way as MacroDroid.

User avatar
Posts: 1400
Joined: 21 Jul 2017 18:50

Re: End call not working in automagic. But works in macrodro

Postby Desmanto » 12 Jan 2019 12:15

What is your ROM and device? I am using RN5 with cusrom RR 6.2.0 Oreo 8.1, the action End Call is working fine here. The closest your ROM to stock android, the more compatible to Automagic.

When you use Reject/end call in Macrodroid, do you use root?

You can try to use action Execute Root Command, tap the ellipsis to choose examples, pick "input keyevent <keyname>", choose ENDCALL. Try it. There is a way without root, using Control UI, sendKey() and send the ENDCALL; but you have to use Automagic keyboard as the default input. Since you have root, better use execute root command.
Index of Automagic useful thread List of my other useful posts (and others')

User avatar
Posts: 4210
Joined: 09 Nov 2012 15:23

Re: End call not working in automagic. But works in macrodro

Postby Martin » 14 Jan 2019 21:16

@icefox56: Could you please enable 'Debug Log' in the preferences of Automagic, try to end a call using Automagic and then send the log to me (menu->Log, menu->Send Log) so I can see if there's anything in the log?
As a workaround you could likely use trigger Notification on Statusbar Displayed to detect the call notification and then use action Perform Action on Notification on Statusbar with option Click button and Decline respectively with the text on the button available in the notification.
Unfortunately only Android 9 introduced an official API to end a call so it's not officially supported on older versions of Android.

Regards,
Martin

Return to User Help / Bug Reports

Who is online

Users browsing this forum: No registered users and 10 guests