Fix the crash on Android platform when user unlock phone after killed the app and locked the phone.