In my project I’m using Device Admin API for disabling the CAMERA. It is working fine in Android 7 and 8. Can I still use Device Admin API only to disable the CAMERA for android 11 and above as Device Admin API is deprecated.
It is working fine in Android 7 and 8. Will it work for Android 10, 11 and above.
It seems like Disable camera will not work for devices after Android 10.0. It is stated in google docs that it will throw a security exception. Check this link for reference.
https://developers.google.com/android/work/device-admin-deprecation#deprecated_policies