This apk uses a feature called Lock Task Mode provided by Android to run a single app on the device and disable all other features. Refer: https://developer.android.com/work/dpc/dedicated-devices/lock-task-mode
Garlic Launcher is a production app which uses this feature for Digital Sinage. https://github.com/sagiadinos/garlic-launcher.git