[Android] Fix an issue that occurs due to the warning dialog.