Turns setting off

Post your questions and help other users.

Moderator: Martin

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

Re: Turns setting off

Post by Martin » 05 May 2019 13:33

Could you please try to revoke the permission to draw over other apps and then enable the permission again. There was a problem on some versions of Android that had a bug in this area, maybe you are affected by this problem.

Regards,
Martin

Akt
Posts: 133
Joined: 25 May 2014 08:57

Re: Turns setting off

Post by Akt » 06 May 2019 13:54

Done several times with no success.

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

Re: Turns setting off

Post by Martin » 06 May 2019 21:03

I'm not sure that I understand the problem properly since Automagic should show an error when the permission to draw overlays is missing but you state that widget overlays are working.

Could you please answer the following questions to isolate the problem:
1. When you open an action Show Custom Widget Overlay, is there a red label that reads 'Permission Draw over other apps missing. Click here to grant permission...'?
2. Assuming there is the red label: Clicking the label should open the settings screen to grant the permission. Is the permission already granted?
3. When you execute an action Show Custom Widget Overlay, does the action execute without error and the overlay is shown?
4. Where exactly do you see the text "draw over other app setting is disabled"? Is this text shown when you execute the overlay action?

Thanks & Regards,
Martin

Akt
Posts: 133
Joined: 25 May 2014 08:57

Re: Turns setting off

Post by Akt » 07 May 2019 06:40

Overlay widget works fine and don't show any error anywhere even when executed manually or through an trigger.

Overlay widget does not ask for any permission as all the permission are already granted.

Problem is in this flow
http://automagic4android.com/flow.php?i ... 0c248ce1af

Akt
Posts: 133
Joined: 25 May 2014 08:57

Re: Turns setting off

Post by Akt » 07 May 2019 06:42

Screenshot of an error
Attachments
Screenshot_2019-05-07-10-35-43-019_com.miui.home.png
Screenshot of an error
Screenshot_2019-05-07-10-35-43-019_com.miui.home.png (162.21 KiB) Viewed 16422 times

Akt
Posts: 133
Joined: 25 May 2014 08:57

Re: Turns setting off

Post by Akt » 07 May 2019 06:46

Screenshot of show custom widget overlay that shows no error
Attachments
Screenshot_2019-05-07-12-14-47-618_ch.gridvision.ppam.androidautomagic.png
Screenshot_2019-05-07-12-14-47-618_ch.gridvision.ppam.androidautomagic.png (91.59 KiB) Viewed 16421 times

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

Re: Turns setting off

Post by Desmanto » 08 May 2019 18:17

@Akt : The widget is not available is only because you haven't choose the widget to show. The overlay shown there is the sign the permission has been granted.

It is strange that Control UI failed but show widget works. Both require permission draw over other app. I tried at mine, if I disable the permission, both Control UI and show widget won't work. There will be exclamation mark to denote it hasn't been granted. Enabling it back, will make both work fine again, no exclamation mark anymore.

When in Control UI and you press Show overlay control, do the "Info, Gesture, Close" red buttons appear?
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.

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

Re: Turns setting off

Post by Martin » 08 May 2019 19:22

@Akt: That's very strange. Could you please enable Debug log and Write log to file in the logging settings of Automagic, reproduce the error and then send the log to me (menu->Log, menu->Send Log)?

Thanks & Regards,
Martin

Akt
Posts: 133
Joined: 25 May 2014 08:57

Re: Turns setting off

Post by Akt » 09 May 2019 01:39

@Desmanto : When I click show overlay control, all the buttons are shown and all of them works properly.

Akt
Posts: 133
Joined: 25 May 2014 08:57

Re: Turns setting off

Post by Akt » 09 May 2019 01:51

@Martin : I have send the log and flow to you on the mail. Please check the attachment.

And please notice that why does it gives error in last action of control ui, although it is used many times in the flow.
According to me there is some problem in paste function of control ui.

The same flow was working perfectly to me in my previous android version in same device.After an update I am facing this problem.

Post Reply