X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreenAppFrameworkBinderAGL%2Fsrc%2Fhomescreenappframeworkbinderagl.cpp;h=125dba5a59ca91bad31ba1173fc544df403005e0;hb=09f2f0036f122e49aa49e6c446d723850192a725;hp=4b0015c62ec0831ecc8dde30952c0b22a86dd07c;hpb=39f2f48669ce3a92ccf267d44a7c36beb8abba35;p=staging%2FHomeScreen.git diff --git a/HomeScreenAppFrameworkBinderAGL/src/homescreenappframeworkbinderagl.cpp b/HomeScreenAppFrameworkBinderAGL/src/homescreenappframeworkbinderagl.cpp index 4b0015c..125dba5 100644 --- a/HomeScreenAppFrameworkBinderAGL/src/homescreenappframeworkbinderagl.cpp +++ b/HomeScreenAppFrameworkBinderAGL/src/homescreenappframeworkbinderagl.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH + * Copyright (C) 2016, 2017 Mentor Graphics Development (Deutschland) GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -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());