From fbd3476483a1724a2a3c171cd57d0253c3638aee Mon Sep 17 00:00:00 2001 From: vshcherb Date: Wed, 28 May 2014 18:53:13 +0200 Subject: [PATCH] Fix groups --- OsmAnd/src/net/osmand/plus/osmo/OsMoGroups.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/osmo/OsMoGroups.java b/OsmAnd/src/net/osmand/plus/osmo/OsMoGroups.java index ddfbc34d7d..26f2ad3396 100644 --- a/OsmAnd/src/net/osmand/plus/osmo/OsMoGroups.java +++ b/OsmAnd/src/net/osmand/plus/osmo/OsMoGroups.java @@ -169,7 +169,7 @@ public class OsMoGroups implements OsMoReactor, OsmoTrackerListener { mergeGroup(group, obj, true); group.active = true; // connect to all devices in group - for(OsMoDevice d : storage.getMainGroup().getGroupUsers()) { + for(OsMoDevice d : group.getGroupUsers()) { connectDeviceImpl(d); } storage.save();