Sounds like this is something developers bake into their apps, not something the phone enforces.
ie, if I develop an app, I can have the app check a special google "Integrity" API and if I get no response (or a negative response), just have the app close.
Nah, that was worth watching.