While Apple lost the top spot, both analyst houses commented that it put in a strong quarter considering that its flagship devices — the iPhone 6 and iPhone 6 Plus — are no longer new to the market. We already knew Apple had a blockbuster Q2 in China as its financials showed, and the fact that it can still compete at this point in the year bodes well for its upcoming devices.

Xiaomi, on the other hand, bounced after two success dips back to take spot. Its Mi Note phablet and new $150 Redmi 2 the top two devices in the quarter, according to Counterpoint. That said, Huawei’s growth and increased competition from Samsung are of concern in the longer term.

“Apple and Samsung have both increased their sales activities in the China market, expanding rapidly in channel coverage through flagship stores and small to medium size phone retailers respectively. Xiaomi is under immense pressure to maintain its top position in the quarters to come,” said Canalys analyst Jingwen Wang in a statement.

Overall, the Chinese market — the world’s largest for smartphones — continues to slowly contract following a dip in the previous quarter. Counterpoint estimated that shipments slid by 2 percent year-on-year in Q2 2015, but did rise 4 percent quarter-on-quarter.