Refactor client platform checks to be DRY.

It didn't sit well with me that we would check for platform eligibility
in two places.

Test: existing unit tests;
PiperOrigin-RevId: 173334224
Change-Id: Ia7075bc40e935c2794646671b5cfea34b7a06afb
1 file changed
tree: 6be745c52fff43a474773931608c28a3096f41ac
  1. assets/
  2. java/
  3. Android.mk
  4. AndroidManifest.xml
  5. CONTRIBUTING
  6. LICENSE