From 54be4a1a997e14516353f5104ef1619f98ba99ec Mon Sep 17 00:00:00 2001 From: Albert Vaca Cintora Date: Tue, 14 Jan 2020 23:01:56 +0100 Subject: [PATCH] Don't load clipboard plugin in Android 10 --- .../kdeconnect/Plugins/ClibpoardPlugin/ClipboardPlugin.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/org/kde/kdeconnect/Plugins/ClibpoardPlugin/ClipboardPlugin.java b/src/org/kde/kdeconnect/Plugins/ClibpoardPlugin/ClipboardPlugin.java index 6514202c..a0de5e03 100644 --- a/src/org/kde/kdeconnect/Plugins/ClibpoardPlugin/ClipboardPlugin.java +++ b/src/org/kde/kdeconnect/Plugins/ClibpoardPlugin/ClipboardPlugin.java @@ -125,6 +125,9 @@ public class ClipboardPlugin extends Plugin { @Override public boolean onCreate() { + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) { + return false; + } ClipboardListener.instance(context).registerObserver(observer); sendConnectPacket(); return true;