Commit 6b57303f by zhengli

update

parent de395d75
package com.xf.agent.wrap; package com.xf.agent.wrap;
import android.os.SystemClock; import android.os.SystemClock;
import android.text.TextUtils;
import android.util.Log; import android.util.Log;
import com.xf.agent.common.CallRequest; import com.xf.agent.common.CallRequest;
import com.xf.agent.common.CallResult; import com.xf.agent.common.CallResult;
...@@ -112,7 +113,8 @@ class LocalServerManager { ...@@ -112,7 +113,8 @@ class LocalServerManager {
return getSessionTransfer().sendMsgAndRecv(params); return getSessionTransfer().sendMsgAndRecv(params);
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
if(e.getMessage().contains("pipe")){ String message = e.getMessage();
if(!TextUtils.isEmpty(message) && message.contains("pipe")){
closeSession(); closeSession();
return getSessionTransfer().sendMsgAndRecv(params); return getSessionTransfer().sendMsgAndRecv(params);
}else { }else {
......
...@@ -22,8 +22,8 @@ android { ...@@ -22,8 +22,8 @@ android {
applicationId versions.applicationId applicationId versions.applicationId
minSdkVersion versions.minSdkVersion minSdkVersion versions.minSdkVersion
targetSdkVersion versions.targetSdkVersion targetSdkVersion versions.targetSdkVersion
versionCode 10 versionCode 13
versionName "1.5.8" versionName "1.6.1"
multiDexEnabled true multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
// externalNativeBuild { // externalNativeBuild {
......
...@@ -4,7 +4,7 @@ import java.util.regex.Pattern ...@@ -4,7 +4,7 @@ import java.util.regex.Pattern
def bakPath = file("${buildDir}/bakApk/") def bakPath = file("${buildDir}/bakApk/")
def baseInfo = "app-1.5.8-0516-16-23-14" def baseInfo = "app-1.5.8-0516-16-23-14"
def appVersionName="1.5.8" def appVersionName="1.6.0"
def variantName = "release" def variantName = "release"
tinkerpatchSupport { tinkerpatchSupport {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment