HI,
in my Huawey P7 there is a function that handles "app protect":
This function allows (as specified in top) Allow 1 app running after turning off the display:
all my app that have a SERVICE I must select ON this option.
If I do not, if I turn off the display the service is cancelled itself.
My service start with StartServiceAt...
Is there a solution for automatically fix?
i see some apps when installed on huawei mobiles it asks to make it protected and after pressing ok it take me to protected apps page to set it manually
so AFAIK i don't think there is an automatic way to add ur app to protected apps