diff options
author | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2018-08-08 14:42:53 +0900 |
---|---|---|
committer | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2018-08-08 14:42:53 +0900 |
commit | 389a02a99961f1bcc6d317ffc9223ea7f2d05023 (patch) | |
tree | 6f50e84d3cad144b7aac031b27cf65d9e5ec1661 /homescreen/qml/ShortcutArea.qml | |
parent | 58ecf2c3229ab677ca39095b52ab88b1a41861bd (diff) |
Use appid between homescreen-service and appsflounder_5.99.3flounder/5.99.35.99.3
Use appid between hss and apps, and check event destination in libhomescreen.
So these is no need compare code when recived Event_TapShortcut Event.
BUG-AGL: SPEC-1645
Change-Id: Idd052d3f76f83e1f5bfe46627d7698655ffad85d
Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
Diffstat (limited to 'homescreen/qml/ShortcutArea.qml')
-rw-r--r-- | homescreen/qml/ShortcutArea.qml | 6 |
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) } } } |