Merge pull request #2731 from ag2s20150909/master

Cronet支持上传大文件
This commit is contained in:
kunfei authored and GitHub committed 2023-01-27 19:07:46 +08:00
commit 814b8590d6
6 files changed
+108 -8

No files matched your search

@@ -12,7 +12,7 @@ import splitties.init.appCtx
@Suppress("MemberVisibilityCanBePrivate")
object AppConfig : SharedPreferences.OnSharedPreferenceChangeListener {
val isGooglePlay = appCtx.channel == "google"
const val isGooglePlay = BuildConfig.isGoogle//appCtx.channel == "google"
val isCronet = appCtx.getPrefBoolean(PreferKey.cronet)
val useAntiAlias = appCtx.getPrefBoolean(PreferKey.antiAlias)
var userAgent: String = getPrefUserAgent()