Code Review
/
apps
/
mediaplayer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
6910d93
)
mediaplayer: readd connect/disconnect from avrcp + a2dp profiles
21/18421/1
6.99.2
guppy/6.99.2
guppy_6.99.2
author
Matt Ranostay
<matt.ranostay@konsulko.com>
Mon, 26 Nov 2018 02:16:23 +0000
(18:16 -0800)
committer
Matt Ranostay
<matt.ranostay@konsulko.com>
Thu, 29 Nov 2018 12:56:43 +0000
(
04:56
-0800)
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>
app/MediaPlayer.qml
patch
|
blob
|
history
diff --git
a/app/MediaPlayer.qml
b/app/MediaPlayer.qml
index
c338af9
..
ba66a42
100644
(file)
--- 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'
}