@ Implementation ( minSdk = LOLLIPOP ) protected boolean setPermittedAccessibilityServices ( ComponentName admin , List < String > packageNames ) { enforceDeviceOwnerOrProfileOwner ( admin ) ; permittedAccessibilityServices = packageNames ; return true ; }
Sets permitted accessibility services .