Fix recorder

This commit is contained in:
Victor Shcherb 2013-03-03 00:30:28 +01:00
parent 3e89f5372c
commit a261ef6e18

View file

@ -801,6 +801,7 @@ public class AudioVideoNotesPlugin extends OsmandPlugin {
final boolean contains = par.getAllViews().contains(recordControl); final boolean contains = par.getAllViews().contains(recordControl);
if(!contains) { if(!contains) {
par.addStackView(recordControl); par.addStackView(recordControl);
mapActivity.getMapView().refreshMap(true);
} }
AccessibleToast.makeText(mapActivity, R.string.recording_is_recorded, Toast.LENGTH_LONG).show(); AccessibleToast.makeText(mapActivity, R.string.recording_is_recorded, Toast.LENGTH_LONG).show();
recordControl.setOnClickListener(new View.OnClickListener() { recordControl.setOnClickListener(new View.OnClickListener() {