diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2020-01-28 12:32:48 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@automotivelinux.org> | 2020-01-28 12:32:48 +0000 |
commit | 9218d82e97b7eab3f8835ce195f52b3e4280205b (patch) | |
tree | 008c1996d12a302c737ad532e61198587588ba68 /homescreen/src/applicationlauncher.cpp | |
parent | c9c9e1d5ab372f1abd982072644766b008a384f0 (diff) | |
parent | 133ac94184bbd28b53544b34e3391f8d6bffdeca (diff) |
Merge "homescreen: remove unused DBus code artifacts"icefish_8.99.5icefish/8.99.58.99.5
Diffstat (limited to 'homescreen/src/applicationlauncher.cpp')
-rw-r--r-- | homescreen/src/applicationlauncher.cpp | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/homescreen/src/applicationlauncher.cpp b/homescreen/src/applicationlauncher.cpp index 5a1e2d6..6bb0729 100644 --- a/homescreen/src/applicationlauncher.cpp +++ b/homescreen/src/applicationlauncher.cpp @@ -16,14 +16,12 @@ * limitations under the License. */ -#include "applicationlauncher.h" +#include <QtCore/QTimer> -#include "afm_user_daemon_proxy.h" +#include "applicationlauncher.h" #include "hmi-debug.h" -extern org::AGL::afm::user *afm_user_daemon_proxy; - ApplicationLauncher::ApplicationLauncher(QObject *parent) : QObject(parent) , m_launching(false) @@ -45,21 +43,6 @@ ApplicationLauncher::ApplicationLauncher(QObject *parent) }); } -int ApplicationLauncher::launch(const QString &application) -{ - int result = -1; - HMI_DEBUG("HomeScreen","ApplicationLauncher launch %s.", application.toStdString().c_str()); - - result = afm_user_daemon_proxy->start(application).value().toInt(); - HMI_DEBUG("HomeScreen","ApplicationLauncher pid: %d.", result); - - if (result > 1) { - setLaunching(true); - } - - return result; -} - bool ApplicationLauncher::isLaunching() const { return m_launching; |