Enter Huawei, one of the largest smartphone makers in China and in the world as a whole, the new official mobile device provider for Chinese officials and government employees. This will allegedly help the Chinese government and agencies create a better integrity between one another. Nonetheless, Huawei also got involved in the spy games at a certain point - allegedly, it was a victim of NSA and has been spied upon by the latter.
Samsung, on the other hand, joins the likes of Apple, Microsoft, IBM, and other Western companies that saw China gradually (and sometimes literally out of the blue) move away from their products. The largest country in the world also is developing its own, Linux-based operating system (COS).
source: ITHome (translated) via GSMDome