commit
7e7dcd65af
1 changed files with 10 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue