summaryrefslogtreecommitdiffstats
path: root/binding-bluetooth/bluetooth-api.c
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2018-09-26 15:26:21 +0800
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-10-08 13:08:11 +0000
commit85a473cd9a9f3c6ef34a80245696aa009a6facf0 (patch)
tree3ed992dd0ab93b6114f4c89c8a72f048699df574 /binding-bluetooth/bluetooth-api.c
parentb6acaeea244541d58b0ff1fc6b7d1dc1dc79cc8a (diff)
binding: bluetooth: remove useless setHMIStatus
Since homescreen now uses libqtappfw to set the Bluetooth status icon, and no longer uses dbus the setHMIStatus function can be removed. Change-Id: I9155a4eb9b380c034deca6402de43bf785b323cd Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding-bluetooth/bluetooth-api.c')
-rw-r--r--binding-bluetooth/bluetooth-api.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/binding-bluetooth/bluetooth-api.c b/binding-bluetooth/bluetooth-api.c
index 61fa204..3f32db1 100644
--- a/binding-bluetooth/bluetooth-api.c
+++ b/binding-bluetooth/bluetooth-api.c
@@ -296,8 +296,6 @@ static void bt_power (struct afb_req request)
if (0==ret)
{
-
- setHMIStatus(ACTIVE);
(TRUE==power_value)?json_object_object_add (jresp, "power", json_object_new_string ("on"))
: json_object_object_add (jresp, "power", json_object_new_string ("off"));
}
@@ -318,7 +316,6 @@ static void bt_power (struct afb_req request)
return;
}
json_object_object_add (jresp, "power", json_object_new_string ("on"));
- setHMIStatus(ACTIVE);
}
/* "?value=" parameter is "0" or "false" */
@@ -331,7 +328,6 @@ static void bt_power (struct afb_req request)
}
json_object_object_add (jresp, "power", json_object_new_string("off"));
- setHMIStatus(INACTIVE);
}
else
{