I have developed device owner application that have some kiosk admin app capabilities.
Among other stuff, I'm using locktask mode in order to disable back button, home button, recent apps button and status bar. And this is all nice.
The problem is that icons (battery, wireless, ....) in status bar are not shown any more, this is not very nice for users .
This apps is intended to be used by company owned industrial devices, and it is very important for those icons to be shown all the time.
Is there any option that I can set in order to get those icons back?
So far it seems that there is no solution directly from Android API by settings some config parameters.
The only workaround for me was to add foreground service as a part of my admin app (device owner):
At the end, fully working solution, but not really optimal, since it will consume additional battery resources. I was hoping that Android has support to enable status bar icon.
What is left is to measure the resource usage penalty, so how much my "custom status bar" consumers battery.
Answers
So far it seems that there is no solution directly from Android API by settings some config parameters.
The only workaround for me was to add foreground service as a part of my admin app (device owner):
At the end, fully working solution, but not really optimal, since it will consume additional battery resources. I was hoping that Android has support to enable status bar icon.
What is left is to measure the resource usage penalty, so how much my "custom status bar" consumers battery.