GPLv2 and Apache 2.0 are not incompatible licenses when bundled together. GPLv3 is the problematic license as it requires all code it is bundled with be GPLv3 as well.
When it comes to AOSP/GOS, bundled apps are not aggregated together, they are built and signed under a singular OS binary.