Expose APIs for new observers

Expose APIs for registering observers outside of the module.
This would allow to customise mitigations if required.

Bug: 361126781
Test: build passes
Flag: android.crashrecovery.flags.enable_crashrecovery
Change-Id: I056bc8d5689e9e96c4f0d93c554edcac48f280f6
1 file changed