I'm wondering if WRITE_SETTINGS permission is compulsory to toggle the hotspot? I can't find it anywhere in the WifiManger class or setWifiEnabled method's prerequisites.
CHANGE_NETWORK_STATE is what's written in the setWifiEnabled method as a prereq.