Fixed crash when disabling wifi.
This commit is contained in:
parent
d950487610
commit
24e2b7c0ed
1 changed files with 3 additions and 2 deletions
|
@ -27,9 +27,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
package com.github.nutomic.controldlna.upnp;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Map.Entry;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
import org.teleal.cling.android.AndroidUpnpService;
|
||||
import org.teleal.cling.android.AndroidUpnpServiceImpl;
|
||||
|
@ -92,7 +92,8 @@ public class RemotePlayService extends Service implements RegistryListener {
|
|||
|
||||
private Messenger mListener;
|
||||
|
||||
private HashMap<String, Device<?, ?, ?>> mDevices = new HashMap<String, Device<?, ?, ?>>();
|
||||
private ConcurrentHashMap<String, Device<?, ?, ?>> mDevices =
|
||||
new ConcurrentHashMap<String, Device<?, ?, ?>>();
|
||||
|
||||
private Device<?, ?, ?> mCurrentRenderer;
|
||||
|
||||
|
|
Reference in a new issue