At some point in the last year I noticed that my Android device (HTC 10, Android 8.0.0) WiFi would turn on even when I had it turned off. I found out there is a permission called
CHANGE_WIFI_STATE, which allows apps to enable/disable WiFi on my device.
I don't want this to happen. I want to be in full control of the WiFi state, for several reasons including the desire to avoid using bad WiFi without forgetting the access point name and key.
Is there any way I can achieve this without uninstalling the guilty apps? Ideally, I'd like to revoke access to the
CHANGE_WIFI_STATE permission for all apps present and future, but I would be OK with doing it per-app too.