I am amending an Android C++ system executable (healthd), which runs as root.
I want the amended healthd to be able to receive some form of signal from an unprivileged Android Java app.
A few hundred ms of latency is fine, as is polling from healthd, rather than an actual "event".
I only need to send an indication that something has happened - there's no requirement to transport data.
What's the simplest form of communication I can use?