Revert "The bluetooth pairing page cannot be exited, disable it for now."
This reverts commit d82d392226
.
Change-Id: I844fad7da76cc18e8f1d7f1e9aed2ba36a46e107
This commit is contained in:
@@ -226,7 +226,9 @@ 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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user