Commit 8514b7b6 by 徐健

Merge branch 'feature/userinfo_collect' of…

Merge branch 'feature/userinfo_collect' of ssh://gitlab.yidianling.com:2224/app_android_lib/YDL-Component into feature/userinfo_collect
parents 53034cb0 1650d09f
...@@ -401,7 +401,7 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy { ...@@ -401,7 +401,7 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy {
if (TextUtils.equals(bean.getUserInfoType(), "age")) { if (TextUtils.equals(bean.getUserInfoType(), "age")) {
try { try {
String year = bean.getContent(); String year = bean.getContent();
if ((Calendar.getInstance().get(Calendar.YEAR) - Integer.valueOf(year)) < 16) { if ((Calendar.getInstance().get(Calendar.YEAR) - Integer.valueOf(year)) <= 16) {
if (!getActivity().isFinishing()) { if (!getActivity().isFinishing()) {
showCheckAgeDialog(); showCheckAgeDialog();
} }
......
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