Fix exception
This commit is contained in:
parent
70471f77db
commit
6aa4c11969
1 changed files with 3 additions and 1 deletions
|
@ -437,7 +437,9 @@ public class QuickSearchCoordinatesFragment extends DialogFragment implements Os
|
|||
dialogFragment.getAccessibilityAssistant().lockEvents();
|
||||
updateCompassVisibility(coordsView, latLon, heading);
|
||||
dialogFragment.getAccessibilityAssistant().unlockEvents();
|
||||
dialogFragment.getNavigationInfo().updateTargetDirection(currentLatLon, heading.floatValue());
|
||||
if(heading != null) {
|
||||
dialogFragment.getNavigationInfo().updateTargetDirection(currentLatLon, heading.floatValue());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue