Normally, referencing a class method or field added in api level X will cause a crash on API levels older than X, so we treat those as errors.
But what about adding an attribute in the manifest, or in a layout file? If nobody looks up that attribute value, there's no crash. ("If a tree falls in a forest and no one is around to hear it, does it make a sound?").
So we could just silently ignore these.
However, the issue is that sometimes the attribute you've added is really important, and you may *think* that it's going to do something vital for your app, yet it has no effect on older versions. That's why this is a warning and we want you to look at it and consider it.
There are a bunch of attributes we know about that we're pretty sure you're okay with treating as benign. We have a hardcoded list of these -- and it sounds like we should just add "foregroundServiceType" to that list.
-- Tor