Log function not working in Control UI?

Post your questions and help other users.

Moderator: Martin

Post Reply
Econdoc
Posts: 153
Joined: 28 May 2016 20:06

Log function not working in Control UI?

Post by Econdoc » 09 Mar 2018 13:13

The log function appears not to work in a Control UI flow. Is that a bug?

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

Re: Log function not working in Control UI?

Post by Desmanto » 09 Mar 2018 14:37

I tried it and yes it doesn't log anything. I never use log(), so never spot this bug. I mostly use debug dialog, which is more useful in troubleshooting.
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: Log function not working in Control UI?

Post by Martin » 11 Mar 2018 19:41

Hi,

The log function seems to work for me. Could you please share a flow that illustrates the problem? Maybe the problem occurs only in combination with some other issue.
For testing I created an action Control UI and added following script:

Code: Select all

log("test");
The text test was properly showing up in the log.

Regards,
Martin

Econdoc
Posts: 153
Joined: 28 May 2016 20:06

Re: Log function not working in Control UI?

Post by Econdoc » 11 Mar 2018 20:18

Interesting...
I cannot make it happen again. It was not working for a while, which is why I posted. Desmanto could not get it to work either. Now it works. Tis a mystery. :)

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

Re: Log function not working in Control UI?

Post by Desmanto » 12 Mar 2018 18:40

Strange, I also can't reproduce the bug anymore. Maybe it reset after restart. I will try to look upon it again.
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