I'm creating an app that needs to behave differently if it's running in the work profile.
There is any possibility to know that?
The documentation has nothing about it and I already tried to add a restriction that is only available in the work profile and it works, but I need a solution without any action from the administrator.
Android for work information: http://www.android.com/work/
Android for work documentation: https://developer.android.com/training/enterprise/index.html