aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>2019-01-25 09:19:34 +0800
committerwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>2019-02-20 13:59:55 +0800
commit72d25de62f38657c1b38ffa0eb0259d020cc067e (patch)
tree12cbd8eb015d7f9492b1f5bf6be53f540035b5db
parent329ab888cbe04aa9b067ea784c299955de554273 (diff)
start app by homescreen-servicesandbox/wangzhiqiang/dbus_ws
Change-Id: Iff6d8d8c9bb95d037176114f2aa32132ce574e89
-rw-r--r--homescreen/qml/ShortcutArea.qml8
-rw-r--r--homescreen/src/homescreenhandler.cpp2
2 files changed, 1 insertions, 9 deletions
diff --git a/homescreen/qml/ShortcutArea.qml b/homescreen/qml/ShortcutArea.qml
index d7e97f0..a4929d8 100644
--- a/homescreen/qml/ShortcutArea.qml
+++ b/homescreen/qml/ShortcutArea.qml
@@ -62,14 +62,6 @@ Item {
name: model.name
active: model.name === launcher.current
onClicked: {
- pid = launcher.launch(model.application)
- if (1 < pid) {
- applicationArea.visible = true
- }
- else {
- console.warn(model.application)
- console.warn("app cannot be launched!")
- }
homescreenHandler.tapShortcut(model.appid)
}
}
diff --git a/homescreen/src/homescreenhandler.cpp b/homescreen/src/homescreenhandler.cpp
index d3338be..b24f78f 100644
--- a/homescreen/src/homescreenhandler.cpp
+++ b/homescreen/src/homescreenhandler.cpp
@@ -84,7 +84,7 @@ void HomescreenHandler::tapShortcut(QString application_id)
HMI_DEBUG("HomeScreen","tapShortcut %s", application_id.toStdString().c_str());
struct json_object* j_json = json_object_new_object();
struct json_object* value;
- value = json_object_new_string("normal");
+ value = json_object_new_string("normal.full");
json_object_object_add(j_json, "area", value);
mp_hs->showWindow(application_id.toStdString().c_str(), j_json);