Commit e4ce8640 authored by Florent Revest's avatar Florent Revest

lipstick: Don't advertise Keyboard capabilities to avoid fancy bonding mechanisms

parent ca5f15d7
From 3ecff2332ec0ba511444cfaafe0fa29ab3a7af82 Mon Sep 17 00:00:00 2001
From: Florent Revest <revestflo@gmail.com>
Date: Sun, 6 Aug 2017 10:51:50 +0100
Subject: [PATCH] BluetoothAgent: Advertise less hardware capabilities to make
sure the Keyboard will not be asked on a watch
---
src/bluetoothagent.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bluetoothagent.cpp b/src/bluetoothagent.cpp
index b48bd7a..c2a016f 100644
--- a/src/bluetoothagent.cpp
+++ b/src/bluetoothagent.cpp
@@ -28,7 +28,7 @@
#include "lipstickqmlpath.h"
#include "bluetoothagent.h"
-#define AGENT_CAPABILITY "KeyboardDisplay"
+#define AGENT_CAPABILITY "DisplayYesNo"
BluetoothAgent::BluetoothAgent(QObject *parent) : QObject(parent), window(0)
{
--
2.7.4
......@@ -8,6 +8,7 @@ SRC_URI = "git://github.com/AsteroidOS/lipstick.git;protocol=https \
file://0002-notificationcategories-use-ion-icons.patch \
file://0003-Disable-USB-mode-notifications-on-connect.patch \
file://0004-ScreenshotService-Use-system-bus-to-workaround-the-s.patch \
file://0005-BluetoothAgent-Advertise-less-hardware-capabilities-.patch \
file://Notifications/"
SRCREV = "8ab7a05b049fd847a050f03871d101cd4a5e381a"
PR = "r1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment