[android] Set the bearing of the checked object to avoid a null exception
Fixes #3213
This commit is contained in:
@@ -574,7 +574,7 @@ final class UserLocationView extends View {
|
||||
mShowDirection = true;
|
||||
mGpsMarkerDirection = 0;
|
||||
if (location.hasBearing()) {
|
||||
mMapView.setBearing(mUserLocation.getBearing());
|
||||
mMapView.setBearing(location.getBearing());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user