修复设置上传周期失败问题
This commit is contained in:
parent
057c386556
commit
12c46700d6
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -9,7 +9,7 @@
|
|||
</map>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="11" project-jdk-type="JavaSDK">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="false" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/build/classes" />
|
||||
</component>
|
||||
<component name="ProjectType">
|
||||
|
|
|
@ -21,8 +21,8 @@ android {
|
|||
applicationId "net.sysolution.taxiapp"
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 29
|
||||
versionCode 242
|
||||
versionName "3.3.3-beta26.3.9.99-debug"
|
||||
versionCode 244
|
||||
versionName "3.3.3-beta26.4.0.1-release"
|
||||
|
||||
//alphaxx - 预览版本,不会对外发布,由测试人员测试,会有很多bug
|
||||
//Betaxx - 公开测试版本,会发给其他工作人员,会有较多版本
|
||||
|
|
|
@ -426,8 +426,8 @@ public class Configurations {
|
|||
return context.getSharedPreferences("config", Context.MODE_PRIVATE).getInt("logInterval", 0);
|
||||
}
|
||||
|
||||
public void logIntervalSave(int x){
|
||||
context.getSharedPreferences("config", Context.MODE_PRIVATE).edit().putInt("screenSizeX", x).apply();
|
||||
public void logIntervalSave(int logInterval){
|
||||
context.getSharedPreferences("config", Context.MODE_PRIVATE).edit().putInt("logInterval", logInterval).apply();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -900,6 +900,7 @@ object ConnManger {
|
|||
it.cancel()
|
||||
it.purge()
|
||||
}
|
||||
if (interval > 0) {
|
||||
//if (Settings.loggerSwitch) {
|
||||
taxiApp.playerLogSummaryTimer = Timer()
|
||||
taxiApp.playerLogSummaryTimer?.schedule(object :TimerTask(){
|
||||
|
@ -914,6 +915,8 @@ object ConnManger {
|
|||
},interval*60*1000L,interval*60*1000L)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 发送运行日志
|
||||
*/
|
||||
|
|
|
@ -153,9 +153,8 @@ object ProcessingCommands {
|
|||
val sb = logException(e)
|
||||
YoungUtil.YoungLog("熙讯长连接执行命令出现异常: $sb")
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
// /**
|
||||
// *发送排正在播放的广告信息
|
||||
// */
|
||||
|
@ -181,7 +180,7 @@ object ProcessingCommands {
|
|||
send(response)
|
||||
|
||||
//测试日志上传
|
||||
ConnManger.sendLogsSummary()
|
||||
// ConnManger.sendLogsSummary()
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -290,7 +289,8 @@ object ProcessingCommands {
|
|||
//edit by yzd @20211201
|
||||
//Settings.loggerSwitch = loggerSwitch.isTurn_on
|
||||
Configurations.config(TaxiApp.instance()).loggerSwitchSave(true)
|
||||
if (loggerInterval.interval>0){
|
||||
if (loggerInterval.interval > -1){
|
||||
Configurations.config(TaxiApp.instance()).logIntervalSave(loggerInterval.interval)
|
||||
ConnManger.sendLogSummaryByInterval(loggerInterval.interval)
|
||||
}
|
||||
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
# Location of the SDK. This is only used by Gradle.
|
||||
# For customization when using a Version Control System, please read the
|
||||
# header note.
|
||||
#Wed Dec 13 15:22:24 GMT+08:00 2023
|
||||
#Wed Dec 20 15:01:02 GMT+08:00 2023
|
||||
sdk.dir=D\:\\Android\\sdk
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":244,"versionName":"3.3.3-beta26.4.0.1-release","enabled":true,"outputFile":"TaxiApp_v3.3.3-beta26.4.0.1-release{244}.apk","fullName":"release","baseName":"release","dirName":""},"path":"TaxiApp_v3.3.3-beta26.4.0.1-release{244}.apk","properties":{}}]
|
Loading…
Reference in New Issue
Block a user