2

My problem is that on my cellphone huawei my services are killed so I need to change the settings on my cellphone.

My problem is the same than 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.

So I need to change the configuration programmatically for my huawei cellphone I need to do this:

Phone Manager App > Protected Apps > Add myApp

Would appreciate some help! :-)

Edit

Why the negative votes, a lot of people have the same problem? My question is how can I change programmatically the settings of my cellphone?

Martin54
  • 1,349
  • 2
  • 13
  • 34
hvar90
  • 213
  • 2
  • 9

1 Answers1

0

No,you can not do that. Unless you get root.

Swing
  • 858
  • 1
  • 8
  • 21
  • 2
    i mean how did be able whatsapp to put this configuration programmatically? sorry for my english – hvar90 Jan 26 '16 at 13:22
  • Huawei and Xioami companies whitelist the popular apps like Facebook, Whatsapp and Messenger in AutoStart. Other apps need to inform the user to enable their app in AutoStart manually. – venkat Sep 13 '16 at 18:02