As someone that follows Android development since version 2.1, when NDK became a thing, Google has been removing GPL component one after the other with each Android release.
With Q, the Linux kernel is the only GPL thing still standing.
No need to worry about Microsoft.