@enderbutte we also have a CLI on device that takes the approach of implementing the Android concept of Locktask if making your application the device manager is an option. See my post here ML2 home button - #4 by mrushton
This is an alternative approach to making yourself the default launcher.