diff options
author | 2018-08-06 12:03:23 +0900 | |
---|---|---|
committer | 2018-08-06 12:03:57 +0900 | |
commit | 1db9ac8587a229f5fd4899c978ac421f2396aadd (patch) | |
tree | ddf21ea746188ed9229db56fbdea26be29087974 /homescreen/qml | |
parent | eda63f75f575f802847eaf839d9a98b7a6885529 (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: I5a2e5b9ad956d4b081af0ab8448d5b57713ac3cf
Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
Diffstat (limited to 'homescreen/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) } } } |