From 903b6046e79d53b13e17832da56d64a2644af547 Mon Sep 17 00:00:00 2001 From: Jimmy Huang Date: Tue, 16 Dec 2014 13:40:11 -0800 Subject: [PATCH] Fix TC-2024 - bluetooth off status not persisted after system reboot Change-Id: Ia78c0dce9b8cd542bfa94ba3b5f6ccc30306995c Signed-off-by: Jimmy Huang --- packaging/phoned.changes | 3 +++ src/phone.cpp | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/packaging/phoned.changes b/packaging/phoned.changes index be6a7cc..87e4bbb 100644 --- a/packaging/phoned.changes +++ b/packaging/phoned.changes @@ -1,3 +1,6 @@ +* Tue Dec 16 2014 Jimmy Huang accepted/tizen/ivi/20141212.011413-1-gcd68e2f +- Fix TC-2024 - bluetooth off status not persisted after system reboot + * Thu Dec 11 2014 Jimmy Huang accepted/tizen/ivi/20141024.005038-6-g4096c04 - Fix TC-2051 - Prevents further PBAP transfers diff --git a/src/phone.cpp b/src/phone.cpp index 6850c26..ea313c8 100644 --- a/src/phone.cpp +++ b/src/phone.cpp @@ -100,6 +100,11 @@ Phone::Phone() : // Request to get own name is sent, now // busAcquiredCb should be called and thus setup() initiated + + /* + * No longer need to power up bluetooth + * so that bluetooth status is persisted + * if(setBluetoothPowered(true)) { LoggerD("Bluetooth powered"); if(setAdapterPowered(true)) { @@ -112,6 +117,7 @@ Phone::Phone() : else { LoggerE("Failed to Power-ON Bluetooth"); } + */ } Phone::~Phone() { -- 2.7.4