mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-22 09:58:08 +00:00
Don't load clipboard plugin in Android 10
This commit is contained in:
parent
9f3b75b748
commit
54be4a1a99
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user