This commit is contained in:
Denis 2014-10-02 16:04:29 +03:00
parent b3f2a5d767
commit b55c729d31

View file

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