[android] Tweak the online bridge to tell native when an event has happened.

This allows the native side to not send excess events.