我的问题是在我的手机上 huawei 我的服务被杀死了所以我需要更改手机上的设置。
我的问题和this一样
NOTE: Huawei and Xiaomi devices have evil task killer services that interfere with the Telegram notification service. For our notifications to work, you need to add Telegram to allowed apps in those devices' security settings. Huawei: Phone Manager App > Protected Apps > Add Telegram to the list. Xiaomi: Services > Security > Permissions > Autostart, find Telegram and enable autostart.
所以我需要以编程方式更改我的华为手机的配置我需要这样做:
手机管家应用> protected 应用>添加我的应用
非常感谢您的帮助! :-)
编辑
为什么投反对票,很多人有同样的问题?我的问题是如何以编程方式更改手机的设置?
最佳答案
不,你不能那样做。除非你获得 root。
关于android - 我怎样才能把这个配置放到我的华为手机上?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34996138/