Android Marshmallow has introduced a few behavioral changes related to Android for Work.
Using the following setting, you can now display your work profile contacts in the dialer call log:
DevicePolicyManager.setCrossProfileCallerIdDisabled(ComponentName admin, boolean disabled)
You can also display the work contacts over Bluetooth with the new option. Setting this to false
will allow the display; the default value is true
(disabling the contact-sharing option):
DevicePolicyManager.setBluetoothContactSharingDisabled(ComponentNa me admin, boolean disabled)