Commit 3555467c authored by wanglei's avatar wanglei

==========混淆脚本前定位=========

parent 760cc0ed
...@@ -31,27 +31,27 @@ class SplashActivity : BaseActivity<ActivitySplashBinding>(), ProgressManager.Pr ...@@ -31,27 +31,27 @@ class SplashActivity : BaseActivity<ActivitySplashBinding>(), ProgressManager.Pr
if (isDestroyed) { if (isDestroyed) {
return return
} }
mProgressManager = ProgressManager(binding, this) // mProgressManager = ProgressManager(binding, this)
if (ConfigHelper.ifAgreePrivacy) { // if (ConfigHelper.ifAgreePrivacy) {
binding.idTvStart.isVisible = false // binding.idTvStart.isVisible = false
binding.idLlJindu.isVisible = true // binding.idLlJindu.isVisible = true
binding.idLlYinsi.isVisible = false // binding.idLlYinsi.isVisible = false
onAgreePrivacy() // onAgreePrivacy()
} else { // } else {
PrivacyAgreementManager(binding, this, this) // PrivacyAgreementManager(binding, this, this)
} // }
} }
override fun onProgressMax() { override fun onProgressMax() {
Handler().postDelayed({ // Handler().postDelayed({
startActivity(Intent(this, MainActivity::class.java)) // startActivity(Intent(this, MainActivity::class.java))
finish() // finish()
}, 500) // }, 500)
} }
override fun onAgreePrivacy() { override fun onAgreePrivacy() {
mProgressManager?.startProgress() // mProgressManager?.startProgress()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment