opt
This commit is contained in:
@@ -36,7 +36,7 @@ public class ALocationClient implements IMogoLocationClient {
|
||||
mClient = new AMapLocationClient( context );
|
||||
mClient.setLocationListener( mListener );
|
||||
mLastLocation = ObjectUtils.fromAMap( mClient.getLastKnownLocation() );
|
||||
if ( mLastLocation != null ) {
|
||||
if ( mLastLocation == null ) {
|
||||
mLastLocation = new MogoLocation();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user