Your comment poses as though Microsoft is a victim here, which they're not. Around 2012ish if I can remember correctly, Apple was throwing around lawsuits like crazy at everyone in the android ecosystem. The most notable I can remember was the one with Samsung. And the next one was HTC. I owned a HTC phone at that time and they made both Android and Windows phones that were very popular. Microsoft, following suit with Apple, started suing almost every major Android vendor to for basic patents[0]. I can't find the article, but their deal was that if you made Android phones, it means you had the means to build Windows phones as well. If you made a Windows phone AND an Android phone, the licensing was very reasonable, otherwise the vendors who made only Android phones would have to pay a lot in royalties to Microsoft.
I personally found this slimy and a very shitty way to sell Windows phones. Technologically, it's a great phone (I had both - Android and Windows from HTC). It was fast, fluid and almost didn't have any lags. Ethically speaking, I'm glad their sneaky sales didn't work out and Windows phone is dead.
[0] https://www.howtogeek.com/wp-content/uploads/2014/03/microso...