OSDN Git Service

Allow SetupWizard to do WiFi scans if location off
authorSvetoslav Ganov <svetoslavganov@google.com>
Tue, 11 Oct 2016 23:12:29 +0000 (16:12 -0700)
committerSvetoslav Ganov <svetoslavganov@google.com>
Wed, 12 Oct 2016 02:43:43 +0000 (02:43 +0000)
commitb2457c370451ca6eac9457369a30a43aa0179ee6
tree808feba7f765b67640e63a1d057578d168d03b13
parent38652db8188917f3e51dbedbea0d8f00265772e5
Allow SetupWizard to do WiFi scans if location off

Location permission is needed for apps to do WiFi scans
and if location is globally off no app can scan too. It
is possible that an OEM does not want location to be on
until the user agrees to that or a device owner can turn
location off before setup. As a result setup wizard
cannot show the WiFi networks preventing the user form
logging in. This change allows the setup wizard component
to perform WiFi scans even if location is globally off.

bug:29577364

Change-Id: Ic56bfb7fb3818658a843d309b67ef37324045f67
core/res/AndroidManifest.xml