aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--HomeScreenAppFrameworkBinderAGL/src/homescreenappframeworkbinderagl.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/HomeScreenAppFrameworkBinderAGL/src/homescreenappframeworkbinderagl.cpp b/HomeScreenAppFrameworkBinderAGL/src/homescreenappframeworkbinderagl.cpp
index 4b0015c..7f9cc51 100644
--- a/HomeScreenAppFrameworkBinderAGL/src/homescreenappframeworkbinderagl.cpp
+++ b/HomeScreenAppFrameworkBinderAGL/src/homescreenappframeworkbinderagl.cpp
@@ -85,11 +85,7 @@ int HomeScreenAppFrameworkBinderAgl::launchApp(const QString &name)
qDebug("launchApp name: %s", name.toStdString().c_str());
QString jsonLaunch = "{\"id\":\"" + name + "\", \"mode\":\"local\"}";
qDebug("jsonLaunch %s", jsonLaunch.toStdString().c_str());
- QString runIdString = mp_dBusAfmUserProxy->start(jsonLaunch);
- qDebug("runIdString %s", runIdString.toStdString().c_str());
- int runid = runIdString.toInt();
-
- QString stateString = mp_dBusAfmUserProxy->state(runIdString);
+ QString stateString = mp_dBusAfmUserProxy->once(jsonLaunch);
qDebug("stateString %s", stateString.toStdString().c_str());
QJsonDocument jsonResponse = QJsonDocument::fromJson(stateString.toUtf8());