diff --git a/src/org/kde/kdeconnect/UserInterface/DeviceFragment.java b/src/org/kde/kdeconnect/UserInterface/DeviceFragment.java index 77c6d992..39ca3391 100644 --- a/src/org/kde/kdeconnect/UserInterface/DeviceFragment.java +++ b/src/org/kde/kdeconnect/UserInterface/DeviceFragment.java @@ -50,6 +50,7 @@ import java.util.ArrayList; import java.util.Collection; import java.util.ConcurrentModificationException; import java.util.HashMap; +import java.util.concurrent.ConcurrentHashMap; /** @@ -332,7 +333,7 @@ public class DeviceFragment extends Fragment { } //Failed plugins List - final HashMap failed = device.getFailedPlugins(); + final ConcurrentHashMap failed = device.getFailedPlugins(); if (!failed.isEmpty()) { if (errorHeader == null) { errorHeader = new TextView(mActivity);