I'm no fan of Google, but it's slightly more complicated than that, there's a lot of security and privacy stuff that can't be enforced if your app was build 6 years ago and still slopping around.
And in any case, Android has had built-in flashlight support for a while now, for any phone that has a camera with a flash. Is the "turn the screen bright white" style still useful with modern Android?
[1]: https://github.com/cyb3rko/flashdim
[2]: https://f-droid.org/en/packages/com.cyb3rko.flashdim/
[3]: https://play.google.com/store/apps/details?id=com.cyb3rko.fl...