diff options
author | 2016-10-21 15:43:09 +0200 | |
---|---|---|
committer | 2016-10-21 15:43:09 +0200 | |
commit | ef00508748d82b3703951cc8eb46b289af8111b0 (patch) | |
tree | f5c1bcb790ef35eec2e8bde9dcb4c19b9178a54a /HomeScreenAppFrameworkBinderTizen/src | |
parent | c9b7a544f14212f72ea19e1af399f1ccab89f5cf (diff) |
D-Bus name of AppFrameworkBinder is more common now.
Change way of launching apps in development environment.
Fix handling of launching more than three apps.
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
Diffstat (limited to 'HomeScreenAppFrameworkBinderTizen/src')
-rw-r--r-- | HomeScreenAppFrameworkBinderTizen/src/homescreenappframeworkbindertizen.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/HomeScreenAppFrameworkBinderTizen/src/homescreenappframeworkbindertizen.cpp b/HomeScreenAppFrameworkBinderTizen/src/homescreenappframeworkbindertizen.cpp index 9e8dbba..625daec 100644 --- a/HomeScreenAppFrameworkBinderTizen/src/homescreenappframeworkbindertizen.cpp +++ b/HomeScreenAppFrameworkBinderTizen/src/homescreenappframeworkbindertizen.cpp @@ -21,7 +21,7 @@ HomeScreenAppFrameworkBinderTizen::HomeScreenAppFrameworkBinderTizen(QObject *pa QObject(parent), mp_appframeworkAdaptor(0) { - qDebug("D-Bus: register as org.agl.homescreenappframeworkbindertizen"); + qDebug("D-Bus: register as org.agl.homescreenappframeworkbinder"); m_apps.clear(); @@ -29,7 +29,7 @@ HomeScreenAppFrameworkBinderTizen::HomeScreenAppFrameworkBinderTizen(QObject *pa mp_appframeworkAdaptor = new AppframeworkAdaptor((QObject*)this); QDBusConnection dbus = QDBusConnection::sessionBus(); dbus.registerObject("/AppFramework", this); - dbus.registerService("org.agl.homescreenappframeworkbindertizen"); + dbus.registerService("org.agl.homescreenappframeworkbinder"); #ifdef __arm__ pkgmgrinfo_pkginfo_get_list(HomeScreenAppFrameworkBinderTizen::pkg_list_cb_static, this); @@ -74,6 +74,7 @@ int HomeScreenAppFrameworkBinderTizen::launchApp(const QString &name) #endif #ifdef __i386__ qDebug("launchApp name: %s", name.toStdString().c_str()); + pid = qrand(); #endif return pid; |