Fix dialog

This commit is contained in:
vshcherb 2014-05-28 01:23:32 +02:00
parent b681ab1ef1
commit b15bdbca5f
2 changed files with 2 additions and 4 deletions

View file

@ -20,7 +20,7 @@ public class OsMoGroups implements OsMoReactor, OsmoTrackerListener {
private static final String GROUP_NAME = "name"; private static final String GROUP_NAME = "name";
private static final String GROUP_ID = "group_id"; private static final String GROUP_ID = "group_id";
private static final String EXPIRE_TIME = "expireTime"; private static final String EXPIRE_TIME = "until";
private static final String DESCRIPTION = "description"; private static final String DESCRIPTION = "description";
private static final String POLICY = "policy"; private static final String POLICY = "policy";
private static final String USERS = "users"; private static final String USERS = "users";
@ -137,7 +137,7 @@ public class OsMoGroups implements OsMoReactor, OsmoTrackerListener {
boolean processed = false; boolean processed = false;
String operation = command + ":" + gid; String operation = command + ":" + gid;
OsMoGroup group = null; OsMoGroup group = null;
if(command.equalsIgnoreCase("GROUP_CHANGE")) { if(command.equalsIgnoreCase("GP")) {
group = storage.getGroup(gid); group = storage.getGroup(gid);
if(group != null) { if(group != null) {
List<OsMoDevice> delta = mergeGroup(group, obj, false); List<OsMoDevice> delta = mergeGroup(group, obj, false);

View file

@ -1,9 +1,7 @@
package net.osmand.plus.osmo; package net.osmand.plus.osmo;
import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.concurrent.ConcurrentLinkedQueue;
import net.osmand.access.AccessibleToast; import net.osmand.access.AccessibleToast;
import net.osmand.plus.R; import net.osmand.plus.R;