update emulator status detect logic.