Merge pull request #12688 from JosJuice/android-alert-synchronize Android: Fix race condition in displayAlertMsg