Fixed NPE

This commit is contained in:
GaidamakUA 2016-03-16 10:58:19 +02:00
parent 0dcabb1a4d
commit 5d493bf687

View file

@ -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"))) {