From 21f81bc73d4a834d9ca22c251f83aa85672c74f1 Mon Sep 17 00:00:00 2001 From: "k.liang" Date: Thu, 23 Sep 2021 16:52:57 +0800 Subject: [PATCH] =?utf8?q?AA=E5=8D=8F=E8=AE=AE=E5=A2=9E=E5=8A=A0=E4=BF=9D?= =?utf8?q?=E5=AD=98=E6=9C=8D=E5=8A=A1=E5=99=A8=E5=9C=B0=E5=9D=80=E5=92=8C?= =?utf8?q?=E7=AB=AF=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- app/release/output.json | 2 +- app/src/main/java/com/ic/protocols/protocol_anan.java | 5 +++++ app/version_code.properties | 4 ++-- local.properties | 4 ++-- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/app/release/output.json b/app/release/output.json index 7bdb6411..4bf3bed8 100644 --- a/app/release/output.json +++ b/app/release/output.json @@ -1 +1 @@ -[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":958,"versionName":"2109221404","enabled":true,"outputFile":"ICSer_V958_2109221404_release.apk","fullName":"release","baseName":"release"},"path":"ICSer_V958_2109221404_release.apk","properties":{}}] \ No newline at end of file +[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":962,"versionName":"2109231621","enabled":true,"outputFile":"ICSer_V962_2109231621_release.apk","fullName":"release","baseName":"release"},"path":"ICSer_V962_2109231621_release.apk","properties":{}}] \ No newline at end of file diff --git a/app/src/main/java/com/ic/protocols/protocol_anan.java b/app/src/main/java/com/ic/protocols/protocol_anan.java index 03636e6d..b4921e94 100644 --- a/app/src/main/java/com/ic/protocols/protocol_anan.java +++ b/app/src/main/java/com/ic/protocols/protocol_anan.java @@ -13,6 +13,8 @@ import android.database.Cursor; import android.media.AudioManager; import android.net.Uri; import android.os.Environment; +import android.os.SystemProperties; +import android.provider.Settings; import android.support.v4.app.ActivityCompat; import android.telephony.TelephonyManager; import android.text.TextUtils; @@ -87,6 +89,9 @@ public class protocol_anan { getPhoneStatus(runtime); //注册佩戴状态改变的监听 registerWearStateReceiver(); + ICLogger.i("anan_server IP = "+defaultServerIp+":"+defaultServerPort); + Settings.System.putString(runtime.getContextProxy().context.getContentResolver(),"anan_server_ip",defaultServerIp); + Settings.System.putString(runtime.getContextProxy().context.getContentResolver(),"anan_server_port",defaultServerPort+""); } public void unregister() { diff --git a/app/version_code.properties b/app/version_code.properties index a9d37904..92ee159a 100644 --- a/app/version_code.properties +++ b/app/version_code.properties @@ -1,2 +1,2 @@ -#Wed Sep 22 14:04:04 CST 2021 -VERSION_CODE=958 +#Thu Sep 23 16:21:31 CST 2021 +VERSION_CODE=962 diff --git a/local.properties b/local.properties index bfdf41b1..6594581d 100644 --- a/local.properties +++ b/local.properties @@ -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. -#Mon Sep 13 18:24:11 CST 2021 -sdk.dir=C\:\\Users\\incar\\AppData\\Local\\Android\\Sdk +#Fri Jul 02 14:52:39 CST 2021 +sdk.dir=D\:\\android\\Android\\sdk -- 2.17.1