Setting Macrodroid as the default assistant app is automatically removed

shlomo

New member
I use a Unihertz Android 11 device with root.
I want to use the trigger of a long press on the home button, I set macrodroid as the default assistant and it works, but after a while the permission suddenly drops by itself and again Google Assistant is set as the assistant. I change to macrodroid, and after a while it resets again.
I gave the macrodroid all the permissions I could find, and it didn't help.
I saw during my work on translations in the application, that there is an option to ask Macrodroid to try to keep this permission active, but I could not find it in the interface of the application itself. Does anyone have any idea where it is?
Thanks
 

Endercraft

Moderator (& bug finder :D)
I saw during my work on translations in the application, that there is an option to ask Macrodroid to try to keep this permission active, but I could not find it in the interface of the application itself. Does anyone have any idea where it is?
Thanks
You are referring to the v5.29 set digital assistant action.

You could use :
Trigger : MacroDroid Initialisated
Action : Set Digital Assistant (MacroDroid)
 

shlomo

New member
Oh, I'm using version 28, I'll check it out, thanks
In fact, permission to draw on top of other apps is also lost over and over again. What you wrote should help that too?
You are referring to the v5.29 set digital assistant action.

You could use :
Trigger : MacroDroid Initialisated
Action : Set Digital Assistant (MacroDroid)
 

Endercraft

Moderator (& bug finder :D)
Oh, I'm using version 28, I'll check it out, thanks
In fact, permission to draw on top of other apps is also lost over and over again. What you wrote should help that too?
I have no idea how to grant back draw over other apps (and a lot of other special permissions). The fact that you are losing these permissions is weird.
 

MacroDroidDev

Administrator
Staff member
Unfortunately losing these permissions is always down to an overzealous operating system that decides it wants to save battery so just gets rid of anything that it think might impact battery life. I know nothing about Unihertz devices but there is a little bit of info covered here: https://dontkillmyapp.com/unihertz

This may help, but equally might not!

I'm afraid there is no mechanism to restore draw over other apps in the same way the digital assistant can be restored. I don't think it's possible to do this, but I am happy to be proved wrong if anyone knows better!
 

shlomo

New member
Unfortunately losing these permissions is always down to an overzealous operating system that decides it wants to save battery so just gets rid of anything that it think might impact battery life. I know nothing about Unihertz devices but there is a little bit of info covered here: https://dontkillmyapp.com/unihertz

This may help, but equally might not!

I'm afraid there is no mechanism to restore draw over other apps in the same way the digital assistant can be restored. I don't think it's possible to do this, but I am happy to be proved wrong if anyone knows better!
Upon further inspection, it seems that only the assistant setting is lost, while the drawing permission on apps remains, although Macrodroid warns that it is not - in fact, when I try to give the drawing permission, it already exists.
I will try the instructions in the link you sent and update, thank you!
 

shlomo

New member
Upon further inspection, it seems that only the assistant setting is lost, while the drawing permission on apps remains, although Macrodroid warns that it is not - in fact, when I try to give the drawing permission, it already exists.
I will try the instructions in the link you sent and update, thank you!
In the meantime, it seems to be helping :) (Both the helper setting remains and the drawing permission alert is gone)
Thank you
 
Top