diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2019-11-08 11:08:35 +0000 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2019-11-08 11:08:35 +0000 |
commit | 0bdd39b247661c1a0406d450d578d4ff3fd171b0 (patch) | |
tree | 43b6f217b728042fd7848b96d7574e07800611b1 /homescreen/qml/MediaAreaBlank.qml | |
parent | f3de2f5cad06a772ee55f58694d559a7cb012c02 (diff) |
Revert "Add push to talk support to homescreen"
It turned out the homescreen won't show. So we need to revisit this patch.
https://gerrit.automotivelinux.org/gerrit/#/c/apps/homescreen/+/21182/
This reverts commit f3de2f5cad06a772ee55f58694d559a7cb012c02.
Change-Id: Ic8829e5009e9fb74b49ad1dd79125b45a872a838
Diffstat (limited to 'homescreen/qml/MediaAreaBlank.qml')
-rw-r--r-- | homescreen/qml/MediaAreaBlank.qml | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/homescreen/qml/MediaAreaBlank.qml b/homescreen/qml/MediaAreaBlank.qml index 60d0c92..ebddb0c 100644 --- a/homescreen/qml/MediaAreaBlank.qml +++ b/homescreen/qml/MediaAreaBlank.qml @@ -22,8 +22,8 @@ import AGL.Demo.Controls 1.0 import MasterVolume 1.0 Image { - width: parent.width - height: parent.height + width: 1080 + height: 215 source: './images/Utility_Logo_Background-01.svg' property bool displayVolume: false; @@ -40,14 +40,14 @@ Image { } Image { - id: logo_image + id: logo_image anchors.centerIn: parent source: './images/Utility_Logo_Grey-01.svg' } Timer { id: volume_timer - interval: 3000; running: false; repeat: false + interval: 5000; running: false; repeat: false onTriggered: displayVolume = false } @@ -56,13 +56,11 @@ Image { PropertyChanges { target: master_volume; opacity: 1.0 } PropertyChanges { target: slider; enabled: true } PropertyChanges { target: logo_image; opacity: 0.0 } - PropertyChanges { target: speech_chrome; visible: false } }, State { when: !displayVolume; PropertyChanges { target: master_volume; opacity: 0.0 } PropertyChanges { target: slider; enabled: false } PropertyChanges { target: logo_image; opacity: 1.0 } - PropertyChanges { target: speech_chrome; visible: speech_chrome.agentPresent } } ] @@ -123,12 +121,4 @@ Image { } } } - - SpeechChrome { - id: speech_chrome - anchors.left: parent.left - anchors.right: parent.right - anchors.bottom: parent.bottom - height: parent.height - } } |