[yanan] fixed the bug of onResume visibility-change strategy and login error
Merge pull request #2 from gynsolomon/master

[yanan] fixed the bug of onResume visibility-change strategy and login error