opt
This commit is contained in:
@@ -356,7 +356,7 @@ public class MogoServiceProvider implements IMogoModuleProvider,
|
||||
return;
|
||||
}
|
||||
|
||||
if ( mLastZoomLevel != zoom ) {
|
||||
if ( mLastZoomLevel != zoom || mCameraNorthEastPosition == null ) {
|
||||
refreshCameraPosition();
|
||||
}
|
||||
|
||||
@@ -401,7 +401,7 @@ public class MogoServiceProvider implements IMogoModuleProvider,
|
||||
float distance = Utils.calculateLineDistance( latLng, mLastCustomRefreshCenterLocation );
|
||||
return distance > factor;
|
||||
} catch ( Exception e ) {
|
||||
Logger.w( TAG, "warming. ", e );
|
||||
Logger.e( TAG, e, "warming. " );
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user