I was creating an android application which is able to disable camera from that application in such a way that if any other application tries to access camera they should be unable to open it, I tried it with giving the admin permissions to the application but it is not disabling the camera for other applications.
I am trying to make an android application which can disable camera from native level so that no other application can access camera.