aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-10-28 07:27:22 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-28 08:28:12 +0200
commitd4210a27d9ed8c519666d219999e98e630cc4e2d (patch)
tree83da9ba74540a346294b6eadf19f7f662de4448a /src
parent59c33e407010f6b0f550b88dd0e9318db91db200 (diff)
downloadayatana-indicator-datetime-d4210a27d9ed8c519666d219999e98e630cc4e2d.tar.gz
ayatana-indicator-datetime-d4210a27d9ed8c519666d219999e98e630cc4e2d.tar.bz2
ayatana-indicator-datetime-d4210a27d9ed8c519666d219999e98e630cc4e2d.zip
Remove com.canonical.usensord and disable haptic
Diffstat (limited to 'src')
-rw-r--r--src/haptic.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/haptic.cpp b/src/haptic.cpp
index dc2cb82..d794ba7 100644
--- a/src/haptic.cpp
+++ b/src/haptic.cpp
@@ -1,5 +1,6 @@
/*
* Copyright 2014 Canonical Ltd.
+ * Copyright 2021 Robert Tari
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 3, as published
@@ -15,6 +16,7 @@
*
* Authors:
* Charles Kerr <charles.kerr@canonical.com>
+ * Robert Tari <robert@tari.in>
*/
#include <notifications/dbus-shared.h>
@@ -130,7 +132,8 @@ private:
g_variant_builder_init (&builder, G_VARIANT_TYPE_TUPLE);
g_variant_builder_add_value (&builder, pattern_array);
g_variant_builder_add_value (&builder, repeat_count);
- auto vibrate_pattern_args = g_variant_builder_end (&builder);
+ //TODO: Reimplement using hfd-service
+ /*auto vibrate_pattern_args = g_variant_builder_end (&builder);
g_dbus_connection_call (m_bus,
BUS_HAPTIC_NAME,
@@ -143,7 +146,7 @@ private:
-1,
m_cancellable,
nullptr,
- nullptr);
+ nullptr);*/
}
const Mode m_mode;