aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBeenish Khurshid <beenish.khurshid@dynastream.com>2013-11-15 17:33:50 -0700
committerBeenish Khurshid <beenish.khurshid@dynastream.com>2013-11-15 17:33:50 -0700
commitcc22951d76344a1b50fa22d6c67e12f34712ebf2 (patch)
tree4efa538525660f8ad8fc550896b2c7252fa53bf0
parent9a3be4106f3b5e906ea9fddf9799c5c260ffec45 (diff)
downloadandroid_external_ant-wireless_ant_service-cc22951d76344a1b50fa22d6c67e12f34712ebf2.tar.gz
android_external_ant-wireless_ant_service-cc22951d76344a1b50fa22d6c67e12f34712ebf2.tar.bz2
android_external_ant-wireless_ant_service-cc22951d76344a1b50fa22d6c67e12f34712ebf2.zip
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
-rw-r--r--src/com/dsi/ant/server/AntService.java16
1 files changed, 1 insertions, 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)