wifi: Confirm user permission before toggling wifi.

Check user permissions before enabling/disabling wifi.

Change-Id: I1ddae6e47f42b6d3fc831c2c135ece75cf9e935d

Conflicts:
	core/java/android/app/AppOpsManager.java
	core/res/res/values/config.xml