projects
/
platform
/
core
/
security
/
device-policy-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2e6e87
)
Do not throw if target does not support bluetooth device
52/71852/1
author
Jaemin Ryu
<jm77.ryu@samsung.com>
Fri, 27 May 2016 10:23:07 +0000
(19:23 +0900)
committer
Jaemin Ryu
<jm77.ryu@samsung.com>
Fri, 27 May 2016 10:23:07 +0000
(19:23 +0900)
Change-Id: I107e352fa57ce47e564c4e372fc12f8034a4a6c1
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
server/bluetooth.cpp
patch
|
blob
|
history
diff --git
a/server/bluetooth.cpp
b/server/bluetooth.cpp
index
2b58bc4
..
6fcde5f
100644
(file)
--- a/
server/bluetooth.cpp
+++ b/
server/bluetooth.cpp
@@
-130,6
+130,10
@@
BluetoothPolicy::BluetoothPolicy(PolicyControlContext& ctxt) :
// Register
int ret = bt_initialize();
+ if (ret == BT_ERROR_NOT_SUPPORTED) {
+ return;
+ }
+
if (ret != BT_ERROR_NONE) {
throw runtime::Exception("failed to initialize the Bluetooth API");
}