Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
os
android_packages_apps_SetupWizard
Commits
d82d3922
Commit
d82d3922
authored
Jun 17, 2017
by
Aaron Kling
Browse files
The bluetooth pairing page cannot be exited, disable it for now.
Change-Id: Ife3d13a77da7e40a1a5e1963eb164c44cb088f2d
parent
0f168378
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/com/cyanogenmod/setupwizard/util/SetupWizardUtils.java
View file @
d82d3922
...
@@ -237,9 +237,7 @@ public class SetupWizardUtils {
...
@@ -237,9 +237,7 @@ public class SetupWizardUtils {
}
}
public
static
void
disableComponentsForMissingFeatures
(
Context
context
)
{
public
static
void
disableComponentsForMissingFeatures
(
Context
context
)
{
if
(!
hasLeanback
(
context
))
{
disableComponent
(
context
,
BluetoothSetupActivity
.
class
);
disableComponent
(
context
,
BluetoothSetupActivity
.
class
);
}
if
(!
hasFingerprint
(
context
))
{
if
(!
hasFingerprint
(
context
))
{
disableComponent
(
context
,
FingerprintActivity
.
class
);
disableComponent
(
context
,
FingerprintActivity
.
class
);
}
}
...
...
Romain Hunault
@rhunault
mentioned in commit
e7dce25f
·
May 14, 2018
mentioned in commit
e7dce25f
mentioned in commit e7dce25fe8d4f0479575c69baac8eddaf5c6f35d
Toggle commit list
Write
Preview
Supports
Markdown
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