From a7c06eb1496ae394c398310014287f2acbadd975 Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Tue, 27 Aug 2013 17:19:31 +0200 Subject: [PATCH] Reenabled ClipboardPlugin for Android 4.3 An official fix for the bug has been released --- .../main/java/org/kde/connect/Plugins/ClipboardPlugin.java | 4 ++-- gradlew | 0 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100755 => 100644 gradlew diff --git a/KdeConnect/src/main/java/org/kde/connect/Plugins/ClipboardPlugin.java b/KdeConnect/src/main/java/org/kde/connect/Plugins/ClipboardPlugin.java index 9fc835d8..143cb761 100644 --- a/KdeConnect/src/main/java/org/kde/connect/Plugins/ClipboardPlugin.java +++ b/KdeConnect/src/main/java/org/kde/connect/Plugins/ClipboardPlugin.java @@ -43,7 +43,7 @@ public class ClipboardPlugin extends Plugin { @Override public boolean isEnabledByDefault() { - return true; + return (Build.VERSION.SDK_INT >= 11); } private ClipboardManager cm; @@ -73,7 +73,7 @@ public class ClipboardPlugin extends Plugin { cm = (ClipboardManager)context.getSystemService(Context.CLIPBOARD_SERVICE); - if (Build.VERSION.SDK_INT == 18) { + if (Build.VERSION.SDK_INT < 11) { return false; } diff --git a/gradlew b/gradlew old mode 100755 new mode 100644