summaryrefslogtreecommitdiffstats
path: root/app/api
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-07-07 18:11:56 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2017-07-08 01:21:41 +0000
commit6b352866f2105d52a9d4ed66d44002ac806bfe66 (patch)
treeb78cf6e240b85bea64469db3982856097ebf44a7 /app/api
parent5cd7736e1e104c6ff779dcca1026aad208ed4b1d (diff)
bluetooth: fix some QML logic bugs
Some conditions in the QML scripts were incorrect and wasn't hiding the playlist correctly when AVRCP/A2DP profiles were connected. Change-Id: Ia7abe250bb73da74ee93e69adeb91e224f6df744 Bug-AGL: SPEC-610 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app/api')
-rw-r--r--app/api/BluetoothManager.qml2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/api/BluetoothManager.qml b/app/api/BluetoothManager.qml
index bb273a5..514a395 100644
--- a/app/api/BluetoothManager.qml
+++ b/app/api/BluetoothManager.qml
@@ -85,7 +85,6 @@ WebSocket {
root.deviceAddress = address
if (!address) {
root.connected = false
- playlistview.visible = true
}
}
break
@@ -173,7 +172,6 @@ WebSocket {
function connect_profiles() {
sendSocketMessage("connect", { "value": root.deviceAddress, "uuid": a2dp_uuid })
sendSocketMessage("connect", { "value": root.deviceAddress, "uuid": avrcp_uuid })
- root.av_connected = true
}
function disconnect_profiles() {