It has long been rumored that Huawei has built its own operating system. Not that lightweight OS that it has running on its new smartwatches, but a full-fledged OS which could replace Android on its smartphones. The company has now confirmed the existence of the operating system while pointing out that it’s will serve as an alternative to Android in the worst case scenario. That involves Huawei being cut off from licensing Google’s Android.

That worst case scenario almost came true for ZTE as it was hit by a ban in the United States for violating an earlier agreement related to a sanctions violation. ZTE later settled its matters with the authorities and was able to operate its business once again.

Huawei has confirmed to the South China Morning Post that it has developed its own operating system for both smartphones and computers. It plans to use them on devices if access to Android is cut off. The proprietary OS has been developed keeping in mind that the tensions between Huawei and the United States could impact the availability of U.S.-made Android.

“We have prepared our own operating system, if it turns out we can no longer use these systems [Android], we will be ready and have our plan B,” said Huawei’s mobile boss Richard Yu Chengdong.

A spokesperson for the company added that Huawei doesn’t expect to use the proprietary OS, adding that “and to be honest, we don’t want to use them.” The spokesperson also said that Huawei fully supports its partners’ operating systems, and that “we love using them and our customers love using them. Android and Windows will always remain our first choices.”

With trade tensions escalating between the United States and China and Huawei’s ongoing issues with the U.S. government, it’s no surprise that the company has now confirmed that it does have an alternative on hand should access be cut to software licensed from U.S. companies.

Filed in Cellphones. Read more about and .