remove log and test code

This commit is contained in:
zhongchao
2022-10-28 19:34:35 +08:00
parent bc87e347d7
commit 375d0fe5fd
2 changed files with 1 additions and 7 deletions

View File

@@ -3,7 +3,6 @@ package com.mogo.eagle.core.function.appupgrade.network;
import static com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant.M_BINDING;
import android.content.Context;
import android.util.Log;
import com.mogo.cloud.passport.MoGoAiCloudClientConfig;
import com.mogo.eagle.core.data.bindingcar.UpgradeAppInfo;
@@ -72,13 +71,11 @@ public class UpgradeAppNetWorkManager {
@Override
public void onNext(@NonNull UpgradeAppInfo info) {
if (info != null && info.result != null) {
CallerLogger.INSTANCE.d(M_BINDING + TAG, "UpgradeAppInfo url = " + info.result.getAppUrl() + "----code = " + info.result.getVersionCode());
Log.d(TAG, "UpgradeAppInfo url = " + info.result.getAppUrl() + "----code = " + info.result.getVersionCode() + "--versionCode =" + versionCode + "--info.result = " + info.result);
CallerLogger.INSTANCE.d(M_BINDING + TAG, "UpgradeAppInfo url = " + info.result.getAppUrl() + "----code = " + info.result.getVersionCode() + "--versionCode =" + versionCode + "--info.result = " + info.result);
if (info.result.getVersionCode() > versionCode) {
CallerHmiManager.INSTANCE.showUpgradeDialog(info.result.getAppUrl().substring(info.result.getAppUrl().lastIndexOf("/")+1), info.result.getAppUrl(), info.result.getInstallTitle(), info.result.getInstallContent(), info.result.getInstallType());
}
} else {
Log.e(TAG, "onNext info == null");
CallerLogger.INSTANCE.d(M_BINDING + TAG, "UpgradeAppInfo onNext info == null");
}
}

View File

@@ -36,11 +36,8 @@ class FuncConfigNetWorkModel {
}
//todo test
map["sn"] = MoGoAiCloudClientConfig.getInstance().sn
// map["sn"] = "20220118J1V4G9W"
map["mac"] = DeviceUtils.getMacAddress()
// map["mac"] = "48:b0:2d:3a:9d:34"
map["channelVersion"] = FuncConfigConst.getChannelCode()
// map["channelVersion"] = 2
}
loader {
apiCall {