Compare commits

...

3 Commits

Author SHA1 Message Date
da91dcab59 chore: 版本更新至 5.32.3
Signed-off-by: chenjuntao <chenjuntao@ghzhushou.com>
2023-11-21 17:07:32 +08:00
ee846bc620 Merge branch 'feat/GHZS-4303' into 'release'
feat: 广告回传参数补充 https://jira.shanqu.cc/browse/GHZS-4303

See merge request halo/android/assistant-android!1453
2023-11-21 17:06:22 +08:00
aa3db9330e feat: 广告回传参数补充 https://jira.shanqu.cc/browse/GHZS-4303
Signed-off-by: chenjuntao <chenjuntao@ghzhushou.com>
2023-11-21 16:52:08 +08:00
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,6 @@
package com.gh.ndownload
import android.os.Build
import android.text.TextUtils
import com.lg.download.httpclient.DefaultHttpClient
import com.lightgame.download.HttpDnsManager
@ -24,6 +25,7 @@ class NHttpClient : DefaultHttpClient() {
HttpDnsManager.metaMap[HttpDnsManager.ANDROID_SDK_VERSION]
)
mConnection.setRequestProperty(HttpDnsManager.REFERER, HttpDnsManager.DEFAULT_REFERER)
mConnection.setRequestProperty("androidmodel", Build.MODEL)
val isEmulator = meta?.get("is_emulator")
val isForcedRealName = meta?.get("force_real_name")

View File

@ -7,8 +7,8 @@ ext {
targetSdkVersion = 28
// application info (每个大版本之间的 versionCode 增加 20)
versionCode = 992
versionName = "5.32.2"
versionCode = 993
versionName = "5.32.3"
applicationId = "com.gh.gamecenter"
// AndroidX