Secure settings -> root actions -> package state. When you use "disable" do NOT use "user disable."
As long as touchless controls was on before you use secure settings to disable it, it will be on still when you use secure settings to re-enable it
Has anyone got any other ideas? It's been a while, maybe there is something newer?
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality.
Are you a developer?
Copyright © xda-developers. Hosted by Leaseweb