fix bug
This commit is contained in:
@@ -29,16 +29,6 @@ class SPIRealTimeTestClass implements RealTimeProvider {
|
||||
return list;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void registerOnMessageListener(IMogoCloudOnMsgListener listener) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void unRegisterOnMessageListener(IMogoCloudOnMsgListener listener) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<CloudLocationInfo> getLocationMsg() {
|
||||
return null;
|
||||
|
||||
@@ -15,7 +15,6 @@ android {
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
consumerProguardFiles "consumer-rules.pro"
|
||||
}
|
||||
|
||||
@@ -51,13 +50,7 @@ android {
|
||||
dependencies {
|
||||
implementation fileTree(dir: "libs", include: ["*.jar"])
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||||
implementation rootProject.ext.dependencies.androidxccorektx
|
||||
implementation rootProject.ext.dependencies.androidxappcompat
|
||||
implementation rootProject.ext.dependencies.okhttpinterceptor
|
||||
implementation rootProject.ext.dependencies.retrofit
|
||||
implementation rootProject.ext.dependencies.retrofitadapter
|
||||
implementation rootProject.ext.dependencies.retrofitconvertergson
|
||||
implementation rootProject.ext.dependencies.retrofitconverterscalars
|
||||
|
||||
if (Boolean.valueOf(RELEASE)) {
|
||||
api "com.mogo.cloud:passport:${MOGO_PASSPORT_VERSION}"
|
||||
|
||||
@@ -15,7 +15,6 @@ android {
|
||||
versionCode 1
|
||||
versionName "${MOGO_HTTPDNS_VERSION}"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
consumerProguardFiles "consumer-rules.pro"
|
||||
}
|
||||
|
||||
@@ -54,8 +53,6 @@ android {
|
||||
|
||||
dependencies {
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||||
implementation rootProject.ext.dependencies.androidxccorektx
|
||||
implementation rootProject.ext.dependencies.androidxappcompat
|
||||
}
|
||||
|
||||
apply from: new File(rootProject.rootDir, "gradle/upload.gradle").toString()
|
||||
@@ -10,7 +10,6 @@ android {
|
||||
versionCode 1
|
||||
versionName "${MOGO_PASSPORT_VERSION}"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
consumerProguardFiles "consumer-rules.pro"
|
||||
}
|
||||
|
||||
@@ -28,7 +27,6 @@ android {
|
||||
|
||||
dependencies {
|
||||
implementation fileTree(dir: "libs", include: ["*.jar"])
|
||||
implementation rootProject.ext.dependencies.androidxappcompat
|
||||
api rootProject.ext.dependencies.mogoutils
|
||||
// passport
|
||||
implementation 'com.zhidao.thirdlogin:third-login:1.0.2'
|
||||
|
||||
@@ -11,7 +11,6 @@ import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Ø
|
||||
* 定位预测纠错策略
|
||||
*/
|
||||
public class SimpleLocationCorrectStrategy {
|
||||
@@ -102,7 +101,6 @@ public class SimpleLocationCorrectStrategy {
|
||||
anchorTime = SystemClock.elapsedRealtime();
|
||||
errCount++;
|
||||
Logger.d(TAG, "异常点纠偏 info: " + lastLocation);
|
||||
// return lastLocation;
|
||||
if (recordLocation()) {
|
||||
correctList.add(nextInfo);
|
||||
}
|
||||
@@ -141,7 +139,6 @@ public class SimpleLocationCorrectStrategy {
|
||||
if (recordLocation()) {
|
||||
correctList.add(nextInfo);
|
||||
}
|
||||
// return lastLocation;
|
||||
return nextInfo;
|
||||
} catch (Exception e) {
|
||||
Logger.e(TAG, e, "纠偏异常");
|
||||
|
||||
@@ -26,7 +26,7 @@ public class RealTimeProviderImp implements RealTimeProvider {
|
||||
}
|
||||
|
||||
public RealTimeProviderImp() {
|
||||
mDelegate = (RealTimeProvider) RealTimeProviderDelegateManager.getInstance();
|
||||
mDelegate = RealTimeProviderDelegateManager.getInstance().getRealTimeProvider();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -11,7 +11,6 @@ android {
|
||||
versionCode 1
|
||||
versionName "${MOGO_TANLU_VERSION}"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
consumerProguardFiles "consumer-rules.pro"
|
||||
}
|
||||
|
||||
@@ -31,8 +30,6 @@ dependencies {
|
||||
implementation fileTree(dir: "libs", include: ["*.jar"])
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||||
implementation rootProject.ext.dependencies.androidxccorektx
|
||||
implementation rootProject.ext.dependencies.androidxappcompat
|
||||
implementation rootProject.ext.dependencies.androidxconstraintlayout
|
||||
implementation rootProject.ext.dependencies.rxjava
|
||||
implementation rootProject.ext.dependencies.rxandroid
|
||||
|
||||
|
||||
Reference in New Issue
Block a user