* fix: address deprecated code
Build.RADIO has been deprecated since API 15, which means it hasn't worked since before the lowest target API of the app, and versioncode is deprecated in API 28.
* fix: use the convenience method
This takes the unused convenience method and the individually declared uses and merges them.
* fix: simplify compat switch