Merge pull request #897 from Bars107/bugfixing

Bugfixing
This commit is contained in:
vshcherb 2014-10-03 12:23:23 +02:00
commit 7e7dcd65af

View file

@ -188,8 +188,17 @@ public class WaypointDialogHelper implements OsmAndLocationListener {
}
protected void onPostExecute(Void result) {
if (isCancelled() || mapActivity == null){
return;
}
if (height > 0 && OVERLAP_LAYOUT) {
shiftButtons(height);
mapActivity.runOnUiThread(new Runnable() {
@Override
public void run() {
shiftButtons(height);
}
});
}
}
}.execute(reachedView);