Fixed critical bug with Android run hook not detecting if emulator was quit.