exemptionsToShowWorkContactsInPersonalProfile property

PackageNameList? exemptionsToShowWorkContactsInPersonalProfile
getter/setter pair

List of apps which are excluded from the ShowWorkContactsInPersonalProfile setting.

For this to be set, ShowWorkContactsInPersonalProfile must be set to one of the following values: SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_ALLOWED. In this case, these exemptions act as a blocklist. SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED. In this case, these exemptions act as an allowlist. SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED_EXCEPT_SYSTEM. In this case, these exemptions act as an allowlist, in addition to the already allowlisted system apps.Supported on Android 14 and above. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 14.

Implementation

PackageNameList? exemptionsToShowWorkContactsInPersonalProfile;