Skip feature check for non-provision APIs
Add `isDeviceAdminFeatureDisabled()` which returns true when both `device_admin` feature and `FLAG_REMOVE_DEVICE_ADMIN_FEATURE_CHECKS` are disabled Bug: 419238296, 422879516 Test: atest FrameworksServicesTests:DevicePolicyManagerTest and manual test with device_admin disabled on device Flag: android.app.admin.flags.remove_device_admin_feature_checks Change-Id: If338fe7cf37e6bbe8f6051938a2ccb39fb900662
Loading
Please register or sign in to comment