From cc22951d76344a1b50fa22d6c67e12f34712ebf2 Mon Sep 17 00:00:00 2001 From: Beenish Khurshid Date: Fri, 15 Nov 2013 17:33:50 -0700 Subject: Disable requiresBluetoothOn for all platforms QComm no longer requires BT to be on for ANT to enable. Issue:ANTDROID-2223 Change-Id: I62fbca5c0149e52f805c4fb246b53d20fd8a511e Type: Bug Fix --- src/com/dsi/ant/server/AntService.java | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/src/com/dsi/ant/server/AntService.java b/src/com/dsi/ant/server/AntService.java index 1ed828f..92e4e67 100644 --- a/src/com/dsi/ant/server/AntService.java +++ b/src/com/dsi/ant/server/AntService.java @@ -117,21 +117,7 @@ public class AntService extends Service * Checks if Bluetooth needs to be turned on for ANT to enable */ private boolean requiresBluetoothOn() { - return isQcomPlatform(); - } - - /** - * Checks if the current platform is QCom - */ - private boolean isQcomPlatform() - { - if ((SystemProperties.get("ro.board.platform").equals("msm8974")) - || (SystemProperties.get("ro.board.platform").equals("msm8610")) - || (SystemProperties.get("ro.board.platform").equals("msm8226"))) { - - return true; - } - return false; + return false; // Set to true if require bluetooth on for ANT functionality } public static boolean startService(Context context) -- cgit v1.2.3