a3803b48d1
set_consolde_mode is an asynchronous operation, so we need to use polling to avoid races between set_console_mode and get_console. Closes-Bug: #1649344 Change-Id: Iedf3148d6324cc3d552234f46060d28603386044