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-06 06:21:36 +0000 |
commit | 8a02e0caa4f39c92db8557872750bf47db86f40a (patch) | |
tree | 861d9f258571e5dea6189a53d18dcd43bd3906fe /app | |
parent | dd0672dd6d1553281af72447f4ca887da405139c (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')
-rw-r--r-- | app/MediaPlayer.qml | 1 | ||||
-rw-r--r-- | app/api/BluetoothManager.qml | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/app/MediaPlayer.qml b/app/MediaPlayer.qml index a297162..1c7c5a8 100644 --- a/app/MediaPlayer.qml +++ b/app/MediaPlayer.qml @@ -41,7 +41,6 @@ ApplicationWindow { repeat: true onTriggered: { bluetooth.position = bluetooth.position + 250 - slider.value = bluetooth.position } } 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) { |