Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
packages_apps_ManagedProvisioning
Commits
f6b069b9
Commit
f6b069b9
authored
8 years ago
by
Mattias Petersson
Committed by
android-build-merger
8 years ago
Browse files
Options
Download
Plain Diff
Only select Wi-fi when needed
am:
1b33c118
Change-Id: I23eec4dbb07f97a942212e52e2486a0d6a065a84
parents
58116e4f
1b33c118
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/com/android/managedprovisioning/uiflows/PreProvisioningController.java
...anagedprovisioning/uiflows/PreProvisioningController.java
+2
-1
No files found.
src/com/android/managedprovisioning/uiflows/PreProvisioningController.java
View file @
f6b069b9
...
...
@@ -251,7 +251,8 @@ public class PreProvisioningController {
if
(
mKeyguardManager
.
inKeyguardRestrictedInputMode
())
{
ProvisionLogger
.
logi
(
"Cannot pick wifi because the screen is locked."
);
// Have the user pick a wifi network if necessary.
}
else
if
(!
mUtils
.
isConnectedToNetwork
(
mContext
)
&&
mParams
.
wifiInfo
==
null
)
{
}
else
if
(!
mUtils
.
isConnectedToNetwork
(
mContext
)
&&
mParams
.
wifiInfo
==
null
&&
mParams
.
deviceAdminDownloadInfo
!=
null
)
{
if
(
canRequestWifiPick
())
{
mUi
.
requestWifiPick
();
return
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment