Commit df2ef859 by 徐健

backup

parent ecf4b437
......@@ -45,7 +45,7 @@ ext {
"m-confide" : "0.0.47",
"m-consultant" : "0.0.56.1",
"m-fm" : "0.0.28",
"m-user" : "0.0.55",
"m-user" : "0.0.56",
"m-home" : "0.0.18",
"m-im" : "0.0.11",
"m-dynamic" : "0.0.5.1",
......
......@@ -123,8 +123,7 @@ public class UserServiceImp : IUserService {
val lastVersionCode : Int = UserHelper.getUsetSetting()?.lastVersionCode?:0
val currentVersionCode : Int = RxAppTool.getAppVersionCode(BaseApp.getApp())
if (lastVersionCode < currentVersionCode) {
// 这行代码放在隐私弹框同意按钮agreeAction中,必须确保注册前置页面是用户看到的第一个功能页面
// UserHelper.getUsetSetting()?.lastVersionCode = currentVersionCode
UserHelper.getUsetSetting()?.lastVersionCode = currentVersionCode
return true
}
return false
......
......@@ -106,8 +106,6 @@ class SecretActivity : BaseActivity() {
}
private fun agreeAction() {
//这行代码是从isFirstStart中取出的,为了确保注册前置功能
UserHelper.getUsetSetting()?.lastVersionCode = RxAppTool.getAppVersionCode(BaseApp.getApp())
SharedPreferencesEditor.putString("hasAgreeSecret", "true")
setResult(SECRET_PAGE_REQUEST_OK_CODE)
finish()
......
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