This commit is contained in:
wangcongtao
2019-12-31 10:37:41 +08:00
parent e5d17bb305
commit 05bd793763
28 changed files with 592 additions and 175 deletions

View File

@@ -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();
}
}