diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-12-03 23:15:29 -0800 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-12-04 11:33:54 -0800 |
commit | 37a61b6fb24512f85ba0a223b5eaaefcc69343b8 (patch) | |
tree | 15a350f7622658698faabc97ef76d803f9816999 /app/api | |
parent | 1828c8932438c8c5c5e5b3e4889de70cfa787d43 (diff) |
mediaplayer: qml: fix issue with bluetooth icon
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.qml | 4 |
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) { |