summaryrefslogtreecommitdiffstats
path: root/app/api
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-12-03 23:15:29 -0800
committerMatt Ranostay <matt.ranostay@konsulko.com>2017-12-06 06:21:36 +0000
commit8a02e0caa4f39c92db8557872750bf47db86f40a (patch)
tree861d9f258571e5dea6189a53d18dcd43bd3906fe /app/api
parentdd0672dd6d1553281af72447f4ca887da405139c (diff)
mediaplayer: qml: fix issue with bluetooth iconeel_4.99.4eel/4.99.44.99.4
Bluetooth icon wasn't visible on connections that were started before Mediaplayer application UI was loaded. Bug-AGL: SPEC-1158 Change-Id: Iafd890968300cc5cf8ee779513a572314c189a2a Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app/api')
-rw-r--r--app/api/BluetoothManager.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/api/BluetoothManager.qml b/app/api/BluetoothManager.qml
index f102fe2..63e3e60 100644
--- a/app/api/BluetoothManager.qml
+++ b/app/api/BluetoothManager.qml
@@ -101,6 +101,9 @@ WebSocket {
var data = payload.data
var metadata = data.Metadata
+ if (root.deviceAddress == "")
+ root.deviceAddress = data.Address
+
if (root.deviceAddress != data.Address)
break
@@ -109,6 +112,7 @@ WebSocket {
sendSocketMessage("discovery_result", 'None')
break
}
+ root.connected = data.Connected == "True"
root.av_connected = data.AVPConnected == "True"
if ('Position' in metadata) {