Fix exception

This commit is contained in:
Victor Shcherb 2017-02-07 21:38:56 +02:00
parent 70471f77db
commit 6aa4c11969

View file

@ -437,9 +437,11 @@ public class QuickSearchCoordinatesFragment extends DialogFragment implements Os
dialogFragment.getAccessibilityAssistant().lockEvents();
updateCompassVisibility(coordsView, latLon, heading);
dialogFragment.getAccessibilityAssistant().unlockEvents();
if(heading != null) {
dialogFragment.getNavigationInfo().updateTargetDirection(currentLatLon, heading.floatValue());
}
}
}
private void updateControlsVisibility() {
if (currentFormat == PointDescription.OLC_FORMAT) {