Turns setting off

Post your questions and help other users.

Moderator: Martin

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

Re: Turns setting off

Post by Akt » 28 Apr 2019 16:19

I found the problem and solved

Only problem now is of draw over other app setting does not work even after enabling it.

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

Re: Turns setting off

Post by Desmanto » 28 Apr 2019 17:09

What is the solution? Other may benefit from the same solution.

Do you mean action "Notifcation on Screen" (toast message) and something like "Show Widget Overlay" doesn't work? Does other app that use this permission working fine? (example google translate?)
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.

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

Re: Turns setting off

Post by Akt » 29 Apr 2019 01:36

After uninstalling cleaner app, i forgot to reboot my device.
After rebooting my device, my problem got solved.

"draw over other app setting is disabled"
I am facing this error even after enabling all the settings.

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

Re: Turns setting off

Post by Desmanto » 29 Apr 2019 02:06

So it is the cleaner app. Other phone might have the similar problem too and can use the same solution.

When you try to enable the allow app to draw over other apps in the app info of Automagic, can it be enabled? I mean, you enabled it, back, then open it again, still enabled? How about other app? Try to install google translate and enable the tap to translate feature, see if it works.
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.

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

Re: Turns setting off

Post by Akt » 29 Apr 2019 14:39

Yes it shows enabled in settings.
I installed google translate and worked and it showd no error.

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

Re: Turns setting off

Post by Akt » 02 May 2019 07:36

Is there any way to grant draw over other app permission?

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

Re: Turns setting off

Post by Desmanto » 02 May 2019 10:04

It should be

Code: Select all

pm grant ch.gridvision.ppam.androidautomagic android.permission.SYSTEM_ALERT_WINDOW
But as you stated, the permission in system setting is enabled already, so it should be working fine already.

Can you try to execute action Show Widget Overlay, the widget should be not shown up (as the permission is not properly granted). Then go to the system setting to toggle the draw over other app again. When the permission is enabled properly, the widget should appear when we toggle the setting. If still not show up, somehow there is a problem for Automagic to acquire the draw over other app permission. You probably need to send a detail debug log to Martin for further analyze.
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.

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

Re: Turns setting off

Post by Akt » 03 May 2019 01:57

Show overlay widget is working fine.

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

Re: Turns setting off

Post by Desmanto » 03 May 2019 17:34

If show widget is working fine, the widget is shown as overlay in front of current UI element, then the permission has been granted already. Maybe the error message is simply cosmestic bug. Under the hood, Automagic has been granted the permission properly already.
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.

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

Re: Turns setting off

Post by Akt » 05 May 2019 02:07

But my flow does not work and gives me error to grant the permission.

Post Reply