I'm using 2 apps, "MacroDroid" and AutoInput", I set a command(Macro) that would turn on mobile data and location. But when I sent the text, it shows that mobile data and location are "on" but only location works. And when I try to manually turn on data it won't work unless I restart my phone. Why is this happening?
Edit : From comments. OP used adb commands to give elevated privileges to an unrooted device for MacroDroid