changed wait event to be android only