Compare commits
7 Commits
feature-ci
...
v5.19.3-73
| Author | SHA1 | Date | |
|---|---|---|---|
| b1abadc145 | |||
| 05da2c3da4 | |||
| e83ece5520 | |||
| 08a86c778d | |||
| b216d33d6b | |||
| 4fe062ea40 | |||
| 7d678085d5 |
@ -1799,6 +1799,9 @@ class GameDetailFragment : ToolbarFragment(), IScrollable {
|
||||
}
|
||||
|
||||
private fun logTabClick(position: Int) {
|
||||
// 特殊处理延时选中 tab 时可能 fragment 已被移除的情况
|
||||
if (!isAdded) return
|
||||
|
||||
val entrance = if (mEntrance.contains("论坛详情")) "论坛" else "游戏"
|
||||
mGameEntity?.run {
|
||||
when (getTabContentForReal(position)) {
|
||||
|
||||
@ -599,7 +599,9 @@ object VHelper {
|
||||
packageName,
|
||||
downloadEntity?.gameId ?: "unknown",
|
||||
MetaUtil.getBase64EncodedAndroidId(),
|
||||
HaloApp.getInstance().gid)
|
||||
HaloApp.getInstance().gid,
|
||||
com.gh.gamecenter.BuildConfig.VERSION_NAME,
|
||||
HaloApp.getInstance().channel)
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
|
||||
context.startActivity(intent)
|
||||
|
||||
|
||||
@ -7,8 +7,8 @@ ext {
|
||||
targetSdkVersion = 28
|
||||
|
||||
// application info (每个大版本之间的 versionCode 增加 20)
|
||||
versionCode = 731
|
||||
versionName = "5.19.1"
|
||||
versionCode = 733
|
||||
versionName = "5.19.3"
|
||||
applicationId = "com.gh.gamecenter"
|
||||
|
||||
// AndroidX
|
||||
|
||||
@ -7,6 +7,7 @@ import com.gh.gamecenter.core.AppExecutor.ioExecutor
|
||||
import com.gh.gamecenter.core.AppExecutor.lightWeightIoExecutor
|
||||
import com.gh.gamecenter.core.AppExecutor.logExecutor
|
||||
import com.gh.gamecenter.core.AppExecutor.uiExecutor
|
||||
import com.gh.gamecenter.core.utils.SentryHelper
|
||||
import io.reactivex.schedulers.Schedulers
|
||||
import java.util.concurrent.*
|
||||
|
||||
@ -81,7 +82,14 @@ fun runOnIoThread(
|
||||
) {
|
||||
when {
|
||||
isLightWeightTask -> lightWeightIoExecutor.execute(f)
|
||||
isHeavyWightTask -> heavyWeightIoExecutor.execute(f)
|
||||
isHeavyWightTask -> {
|
||||
try {
|
||||
heavyWeightIoExecutor.execute(f)
|
||||
} catch (e: RejectedExecutionException) {
|
||||
SentryHelper.onEvent("HEAVY_TASK_REJECTED", "digest", e.localizedMessage)
|
||||
e.printStackTrace()
|
||||
}
|
||||
}
|
||||
else -> ioExecutor.execute(f)
|
||||
}
|
||||
}
|
||||
|
||||
Submodule vspace-bridge updated: 53a4a515f5...83c993dd97
Reference in New Issue
Block a user