aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/qml/ShortcutArea.qml
diff options
context:
space:
mode:
authorwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>2018-11-06 10:12:27 +0800
committerwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>2018-11-06 11:08:36 +0800
commit6a712584e9b66fe48494c5d20690a072320baf14 (patch)
treedc9c4949cd5be0a2fb2d10fbb8756927ae3ce332 /homescreen/qml/ShortcutArea.qml
parent33d31b5bac3c8c9105d43d6566174f39ef7a4ea4 (diff)
use appid instead of appname in "tap_shortcut"
Now In homescreen-service used application_id to identify different application, so use appid instead of appname in "tap_shortcut" parameter. Bug-AGL: SPEC-1764 Change-Id: I2fdda76167c7af9af65b1135b838da1742515b8b Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
Diffstat (limited to 'homescreen/qml/ShortcutArea.qml')
-rw-r--r--homescreen/qml/ShortcutArea.qml6
1 files changed, 5 insertions, 1 deletions
diff --git a/homescreen/qml/ShortcutArea.qml b/homescreen/qml/ShortcutArea.qml
index e0c9182..d7e97f0 100644
--- a/homescreen/qml/ShortcutArea.qml
+++ b/homescreen/qml/ShortcutArea.qml
@@ -28,18 +28,22 @@ Item {
ListModel {
id: applicationModel
ListElement {
+ appid: 'launcher'
name: 'launcher'
application: 'launcher@0.1'
}
ListElement {
+ appid: 'mediaplayer'
name: 'MediaPlayer'
application: 'mediaplayer@0.1'
}
ListElement {
+ appid: 'hvac'
name: 'HVAC'
application: 'hvac@0.1'
}
ListElement {
+ appid: 'navigation'
name: 'Navigation'
application: 'navigation@0.1'
}
@@ -66,7 +70,7 @@ Item {
console.warn(model.application)
console.warn("app cannot be launched!")
}
- homescreenHandler.tapShortcut(model.name)
+ homescreenHandler.tapShortcut(model.appid)
}
}
}