Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2016-09-01 21:56:18 +02:00
commit 3da044b2a3
2 changed files with 3 additions and 2 deletions

View file

@ -1107,7 +1107,7 @@ public class OpeningHoursParser {
} else if(pair[0].mainNumber == 2) {
basic.easter = true;
}
} else {
} else if(pair[0].mainNumber >= 0){
array[pair[0].mainNumber] = true;
}
}

View file

@ -1,5 +1,6 @@
package net.osmand.plus.activities;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Intent;
import android.graphics.drawable.Drawable;
@ -13,7 +14,6 @@ import android.widget.Button;
import android.widget.CompoundButton;
import android.widget.ImageView;
import android.widget.TextView;
import net.osmand.plus.OsmandApplication;
import net.osmand.plus.OsmandPlugin;
import net.osmand.plus.R;
@ -121,6 +121,7 @@ public class PluginActivity extends OsmandActionBarActivity {
return false;
}
@SuppressLint("NewApi")
private void updateState() {
CompoundButton enableDisableButton = (CompoundButton)findViewById(
R.id.plugin_enable_disable);