Mr. Liang also warned that the second half of the year might be more challenging than the first.

Huawei’s future has been uncertain ever since Washington began ratcheting up efforts to undermine the company, saying that its products are dangerously susceptible to influence and disruption by the Chinese government. Huawei rejects the insinuations.

Its fate is now entangled with talks between the United States and China to end their yearlong tariff war. As those negotiations have swung between optimistic highs and gloomy lows, so has the outlook for Huawei’s business.

After American officials spent months warning the world about the risks of using Huawei’s equipment to build next-generation wireless networks, the Commerce Department took direct aim at the company’s operations in May by putting it on an export blacklist. This meant that American companies like Qualcomm and Intel would need special permission to sell Huawei the microchips and other specialized components that go into its products.

American tech suppliers swiftly halted shipments to Huawei in response. The Chinese company’s founder and chief executive, Ren Zhengfei, predicted in June that revenue this year would be around $30 billion less than previously forecast. That gap alone represents more revenue than Ericsson, one of Huawei’s main rivals in telecom equipment, took in all year in 2018.

Before long, though, some American tech companies decided that they could resume selling certain items to Huawei despite the blacklisting. Their lawyers determined that Washington’s restrictions did not apply to hardware that was manufactured outside the United States and that did not contain much in the way of sensitive American components and technology.