diff options
author | Beenish Khurshid <beenish.khurshid@dynastream.com> | 2013-11-15 17:33:50 -0700 |
---|---|---|
committer | Beenish Khurshid <beenish.khurshid@dynastream.com> | 2013-11-15 17:33:50 -0700 |
commit | cc22951d76344a1b50fa22d6c67e12f34712ebf2 (patch) | |
tree | 4efa538525660f8ad8fc550896b2c7252fa53bf0 /src | |
parent | 9a3be4106f3b5e906ea9fddf9799c5c260ffec45 (diff) | |
download | android_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
Diffstat (limited to 'src')
-rw-r--r-- | src/com/dsi/ant/server/AntService.java | 16 |
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) |