summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2018-11-25 18:16:23 -0800
committerMatt Ranostay <matt.ranostay@konsulko.com>2018-11-29 04:56:43 -0800
commit59d74504d5f36a84c74b7a8161a7e934b068bb01 (patch)
tree54f724c83aad62ebe0c8b0e523a5557c0a626f2e
parent6910d9325af0edb8bcbb88b918603e3a2cd8a446 (diff)
mediaplayer: readd connect/disconnect from avrcp + a2dp profilesguppy_6.99.2guppy/6.99.26.99.2
Support connect/disconnect to a2dp + avrcp profiles with in Mediaplayer UI Bug-AGL: SPEC-1630 Change-Id: I1095c4abc29dd5241ed98241a745dd2de2fc293a Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
-rw-r--r--app/MediaPlayer.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/MediaPlayer.qml b/app/MediaPlayer.qml
index c338af9..ba66a42 100644
--- a/app/MediaPlayer.qml
+++ b/app/MediaPlayer.qml
@@ -242,6 +242,12 @@ ApplicationWindow {
visible: true
enabled: false
checked: player.av_connected
+ onClicked: {
+ if (checked)
+ mediaplayer.disconnect()
+ else
+ mediaplayer.connected()
+ }
offImage: './images/AGL_MediaPlayer_Bluetooth_Inactive.svg'
onImage: './images/AGL_MediaPlayer_Bluetooth_Active.svg'
}