Tensions between the U.S. and Huawei show no sign of easing. Last week, the electronics giant announced that it has filed a lawsuit against the government over an “unconstitutional” ban on its products. Meanwhile, earlier this week, the U.S. threatened German intelligence over the country’s use of Huawei 5G products.

The company has understandably been prepping for a further downturn in relations by building its own in-house alternative to Android. The backup was noted by Huawei mobile head Richard Yu, following a year of rumors around the mobile OS.

“We have prepared our own operating system; if it turns out we can no longer use [Android], we will be ready and have our plan B,” the exec said.

Huawei began building the software in earnest after a U.S. ban on ZTE. The use of software and hardware from U.S. companies like Google and Qualcomm in Chinese smartphones has led to increasing tariffs on both sides.

In addition to concerns over ties to the Chinese government, Huawei has also been hit over its alleged skirting of Iranian tariffs. That landed the company’s CFO Meng Wanzhou in a Canadian jail. Of course, all of this hasn’t slowed Huawei’s global growth. The company saw a 50 percent jump in revenue in spite of mounting concerns.

We’ve reached out to Huawei for further confirmation.