fix there is no EVENT_COME_TO_BACKGROUND and EVENT_COME_TO_FOREGROUND event dispatch on android platform;