Flatten Android platforms.

In preparation for addition of ALPN, which would add a
third class, where inheritance starts to break.