From 053c8f803bb25433dab1202ca02a839c739d3923 Mon Sep 17 00:00:00 2001 From: wang_zhiqiang Date: Tue, 6 Nov 2018 10:11:36 +0800 Subject: 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: Ia7004dbbc9851e95f959e551e0427c9dc308eb9b Signed-off-by: wang_zhiqiang --- launcher/qml/Launcher.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'launcher/qml') diff --git a/launcher/qml/Launcher.qml b/launcher/qml/Launcher.qml index 6d55271..1ddfc4b 100644 --- a/launcher/qml/Launcher.qml +++ b/launcher/qml/Launcher.qml @@ -75,7 +75,7 @@ ApplicationWindow { if (currentId === '') { pid = launcher.launch(applicationModel.id(loc.index)) if (1 < pid) { - homescreenHandler.tapShortcut(applicationModel.name(loc.index)) + homescreenHandler.tapShortcut(applicationModel.appid(loc.index)) } else { console.warn("app cannot be launched!") -- cgit 1.2.3-korg