Using adb, one has a lot of additional permissions, that apps running locally on the phone have.
Specifically, I am interested in the
wm size command.
Is there a good way to allow apps access to those permissions?
The only way I know of, is to use
adb tcpip, so that apps can connect to the adb server running on the phone. But afaik, thata wouldn't survive a reboot.