Device owner. Return status icons in lock mode.

I developed a device owner application that has some features of the kiosk admin application.

Among other things, I use locktask mode to disable the return button, the home button, the Recent Applications button, and the status bar. And this is all good. The problem is that the icons (battery, wireless, ....) in the status bar are no longer displayed, it is not very pleasant for users.

These applications are intended for use by company-owned industrial devices, and it is important that these icons are displayed all the time.

Is there an option I can set to return these icons?

+6
source share
1

,

Android 9.0 , , DPC .

, , , , .

dpm.setLockTaskFeatures(adminName,
DevicePolicyManager.LOCK_TASK_FEATURE_SYSTEM_INFO |
      DevicePolicyManager.LOCK_TASK_FEATURE_OVERVIEW);
0

Source: https://habr.com/ru/post/1673597/


All Articles