I need to use the INJECT_EVENTS
permission in my app, which means that I need to sign the app with the platform keys, see previous SO answer.
However, going through the process does not grant me the permissions, e.g. app details on the phone does not show INJECT_EVENTS
.
I use a Nexus 7 with Android 5.1 LMY47O. And thought that the Android stock version on Nexus devices would use the keys released in this Github repo.
Is that not the case, see link?
Or is the only way to build and install Android from source?