I'm trying to turn location on using the following commands:
adb shell settings put secure location_providers_allowed gps,wifi,network
adb reboot
But it's neither changing the value of the variable location_providers_allowed nor turning it on under Android Settings UI after the reboot.
I tried the same command to set other variables, like mock_location, and it worked without problems. Is this variable not possible to be changed?
Android version: M
Aucun commentaire:
Enregistrer un commentaire