As global smartphone shipments hit a historic high of 301.3 million in the second quarter, the third-ranked operating system, Microsoft's Windows …