summaryrefslogtreecommitdiff
path: root/daemon/manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/manager.cpp')
-rw-r--r--daemon/manager.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/daemon/manager.cpp b/daemon/manager.cpp
index 8a8acf4..7a02c86 100644
--- a/daemon/manager.cpp
+++ b/daemon/manager.cpp
@@ -12,6 +12,7 @@ Manager::Manager(Settings *settings, QObject *parent) :
voice(new VoiceCallManager(settings, this)),
notifications(new NotificationManager(settings, this)),
music(new MusicManager(watch, this)),
+ datalog(new DataLogManager(watch, this)),
apps(new AppManager(this)),
notification(MNotification::DeviceEvent)
{
@@ -35,15 +36,15 @@ Manager::Manager(Settings *settings, QObject *parent) :
return true;
});
watch->setEndpointHandler(WatchConnector::watchPHONE_CONTROL,
- [this](const QByteArray& data) {
+ [this](const QByteArray &data) {
if (data.at(0) == WatchConnector::callHANGUP) {
voice->hangupAll();
}
return true;
});
- watch->setEndpointHandler(WatchConnector::watchDATA_LOGGING,
- [this](const QByteArray& data) {
- //logger()->debug() << data.toHex();
+ watch->setEndpointHandler(WatchConnector::watchLAUNCHER,
+ [this](const QByteArray &data) {
+ logger()->debug() << "LAUNCHER msg:" << data.toHex();
return true;
});