Commit 62f43467 by 徐健

修复登陆页面数组越界问题

parent c87dabe8
......@@ -64,6 +64,8 @@ public class PhoneEditText extends android.support.v7.widget.AppCompatEditText {
}
}
setText(sb.toString());
if (index > sb.length())
index = sb.length();
setSelection(index);
}
}
......
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