From 5d493bf6877048e56eb8df446fb60bdf13a61895 Mon Sep 17 00:00:00 2001 From: GaidamakUA Date: Wed, 16 Mar 2016 10:58:19 +0200 Subject: [PATCH] Fixed NPE --- OsmAnd/src/net/osmand/plus/osmo/OsMoGroupsActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/osmo/OsMoGroupsActivity.java b/OsmAnd/src/net/osmand/plus/osmo/OsMoGroupsActivity.java index 429535889a..47cf79b397 100644 --- a/OsmAnd/src/net/osmand/plus/osmo/OsMoGroupsActivity.java +++ b/OsmAnd/src/net/osmand/plus/osmo/OsMoGroupsActivity.java @@ -1043,7 +1043,7 @@ public class OsMoGroupsActivity extends OsmandExpandableListActivity implements @Override public void run() { String top = OsMoGroupsActivity.this.operation; - if (top.equals(operation) || (operation != null && operation.equals(top))) { + if (operation != null && operation.equals(top)) { hideProgressBar(); } if (joinGroup && (operation != null && operation.startsWith("GROUP_CONNECT"))) {