Merge "Removing emulator check for starting BluetoothService" into qt-dev
This commit is contained in:
@@ -1049,12 +1049,7 @@ public final class SystemServer {
|
|||||||
mDisplayManagerService.windowManagerAndInputReady();
|
mDisplayManagerService.windowManagerAndInputReady();
|
||||||
traceEnd();
|
traceEnd();
|
||||||
|
|
||||||
// Skip Bluetooth if we have an emulator kernel
|
if (mFactoryTestMode == FactoryTest.FACTORY_TEST_LOW_LEVEL) {
|
||||||
// TODO: Use a more reliable check to see if this product should
|
|
||||||
// support Bluetooth - see bug 988521
|
|
||||||
if (isEmulator) {
|
|
||||||
Slog.i(TAG, "No Bluetooth Service (emulator)");
|
|
||||||
} else if (mFactoryTestMode == FactoryTest.FACTORY_TEST_LOW_LEVEL) {
|
|
||||||
Slog.i(TAG, "No Bluetooth Service (factory test)");
|
Slog.i(TAG, "No Bluetooth Service (factory test)");
|
||||||
} else if (!context.getPackageManager().hasSystemFeature
|
} else if (!context.getPackageManager().hasSystemFeature
|
||||||
(PackageManager.FEATURE_BLUETOOTH)) {
|
(PackageManager.FEATURE_BLUETOOTH)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user