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 13:01:42 +0000
commitbfb51279e29da3b982825ca6497cc3c90f9eef5e (patch)
tree05e40e7f2746adaca395f23d5d870f5fac7eefee
parent3b9a93916b469198b5515290c66341dc48fc8fc1 (diff)
mediaplayer: readd connect/disconnect from avrcp + a2dp profilesflounder_6.0.3flounder/6.0.36.0.3
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'
}