Earlier quoted context omitted.
> but Google cannot force OEMs to continue supporting a phone within a reasonable timeframe Couldn't Google could pressure them to do it, by making this a legal requirement for a Google Play license for their devices?
Could, in the literal sense? Yes. Could they do it without alienating their hardware partners? No. Does Android require the Google Play store or any other Google services or non-AOSP code? No. Many Android devices ship entirely without Google stuff, including no Google Play store. Could they do it even if they didn't care about alienating their hardware partners? Yes, if they also intend on being fined into the groun…
Google's gotten away with extremely anticompetitive requirements so far. I can't imagine it would be worse for them to mandate 5 years of software support, something that's very positive for consumers.