Tim Cook, chief executive officer of Apple, in Sun Valley, Idaho, United States, on July 12, 2019.Patrick T. Fallon | Bloomberg | Getty ImagesApple CEO Tim Cook met the chief of China’s market regulator in Beijing on Thursday, the Chinese agency said, a week after the U.S. firm was thrust into the midst of political tensions between the mainland and protesters in Hong Kong.Apple last week removed from its app store an app that helped Hong Kong protesters track police movements after a Chinese state newspaper sharply criticized it for allowing the software. The company said the app, HKmap.live, was used to target the police.Cook had defended the removal in the face of criticism for appeasing mainland China, telling Apple workers that “this decision best protects our users.”China’s State Administration for Market Regulation said in a statement on its website that its chief, Xiao Yaqing, and Cook discussed topics including Apple expanding investment in China, consumer rights protection and fulfilling corporate social responsibility. It did not give more details.Apple did not immediately respond to a request for comment.China is a key market for Apple. Apple’s smartphone market share fell to 5.8% in the June quarter from 6.4% in the same period a year ago, according to research firm Canalys, as China’s homegrown Huawei Technologies became the dominant smartphone seller.The meeting also comes days before China holds the World Internet Conference in Wuzhen in China’s eastern Zhejiang province. The event in the past has attracted overseas company executives, foreign diplomats and Chinese government officials.It was not immediately clear if Cook will be a participant at the conference this year. He last attended the event in 2017.WATCH: What is Hong Kong’s relationship with China?