aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/src/applicationlauncher.cpp
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2020-01-27 11:17:15 -0800
committerMatt Ranostay <matt.ranostay@konsulko.com>2020-01-27 12:22:11 -0800
commit133ac94184bbd28b53544b34e3391f8d6bffdeca (patch)
treed715d82e44897c2b75fe38d9a72bb584528cb30f /homescreen/src/applicationlauncher.cpp
parent7dcc687d179c645f4ccf7fffdb507e18b8d562c4 (diff)
homescreen: remove unused DBus code artifacts
All accesses to control launching applications are now done via agl-service-homescreen/libhomescreen, and thus the unused DBus interface can be removed. Bug-AGL: SPEC-3137 Change-Id: I56201c138c7061bba8114e367729d2b29f672ed1 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'homescreen/src/applicationlauncher.cpp')
-rw-r--r--homescreen/src/applicationlauncher.cpp21
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;