Compare commits
1 Commits
pack/updat
...
feat/GHZSC
| Author | SHA1 | Date | |
|---|---|---|---|
| c3a652ca91 |
@ -156,15 +156,6 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
// Ignore useless variant
|
||||
variantFilter { variant ->
|
||||
def names = variant.flavors*.name
|
||||
def isDebugType = variant.buildType.name == "debug"
|
||||
if ((names.contains("tea") || name.contains("kuaishou") || name.contains("gdt")) && isDebugType) {
|
||||
setIgnore(true)
|
||||
}
|
||||
}
|
||||
|
||||
flavorDimensions("env", "region")
|
||||
|
||||
sourceSets {
|
||||
|
||||
@ -14,6 +14,7 @@ object KuaishouHelper {
|
||||
TurboConfig.TurboConfigBuilder.create(context)
|
||||
.setAppId(mAppId)
|
||||
.setAppName(mAppName)
|
||||
.setEnableDebug(true)
|
||||
.setAppChannel(channel)
|
||||
.build()
|
||||
)
|
||||
|
||||
@ -19,6 +19,7 @@ import com.gh.gamecenter.common.entity.SuggestType
|
||||
import com.gh.gamecenter.common.eventbus.EBShowDialog
|
||||
import com.gh.gamecenter.common.utils.*
|
||||
import com.gh.gamecenter.common.utils.NewFlatLogUtils
|
||||
import com.gh.gamecenter.core.utils.CurrentActivityHolder
|
||||
import com.gh.gamecenter.core.utils.GsonUtils
|
||||
import com.gh.gamecenter.core.utils.MtaHelper
|
||||
import com.gh.gamecenter.core.utils.SPUtils
|
||||
@ -566,6 +567,8 @@ object DownloadObserver {
|
||||
gameCategory == category
|
||||
}
|
||||
|
||||
HaloApp.getInstance().flavorProvider.init(HaloApp.getInstance(), CurrentActivityHolder.getCurrentActivity()!!, PkgHelper.getActivateRatio())
|
||||
|
||||
if (!SPUtils.getBoolean(CORE_EVENT_DOWNLOAD_COMPLETE_LOGGED) && categoryMatched) {
|
||||
HaloApp.getInstance().flavorProvider.logCoreEvent()
|
||||
SPUtils.setBoolean(CORE_EVENT_DOWNLOAD_COMPLETE_LOGGED, true)
|
||||
|
||||
@ -270,8 +270,6 @@ class SplashScreenActivity : BaseActivity() {
|
||||
}
|
||||
|
||||
private fun doFlavorInit() {
|
||||
HaloApp.getInstance().flavorProvider.init(HaloApp.getInstance(), this, PkgHelper.getActivateRatio())
|
||||
|
||||
SensorsBridge.init(HaloApp.getInstance(), HaloApp.getInstance().channel)
|
||||
SensorsBridge.setOAID(HaloApp.getInstance().oaid)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user