Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 806ac5e1 authored by Pulkit Bhuwalka's avatar Pulkit Bhuwalka Committed by android-build-merger
Browse files

Merge "Remove outdated emulator check which causes BT to not start"

am: ad7fb62d

Change-Id: Ia6f9417e6b21ec7911036b8875b9603f8b36152e
parents 3c2c2764 ad7fb62d
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
@@ -563,8 +563,6 @@ public final class SystemServer {
        boolean disableCameraService = SystemProperties.getBoolean("config.disable_cameraservice",
                false);

        boolean isEmulator = SystemProperties.get("ro.kernel.qemu").equals("1");

        try {
            Slog.i(TAG, "Reading configuration...");
            SystemConfig.getInstance();
@@ -651,12 +649,7 @@ public final class SystemServer {
            // TODO: Use service dependencies instead.
            mDisplayManagerService.windowManagerAndInputReady();

            // Skip Bluetooth if we have an emulator kernel
            // 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) {
            if (mFactoryTestMode == FactoryTest.FACTORY_TEST_LOW_LEVEL) {
                Slog.i(TAG, "No Bluetooth Service (factory test)");
            } else if (!context.getPackageManager().hasSystemFeature
                       (PackageManager.FEATURE_BLUETOOTH)) {