From d67985d484c33f27a8add25f1845f90f46d6afd5 Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Thu, 12 Nov 2015 06:41:14 -0800 Subject: [PATCH] Now with less compilation errors! --- src/org/kde/kdeconnect/UserInterface/DeviceFragment.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);