I need to test an application where OS fails to detect the camera and my application is still able to proceed without capturing the image.
Please note: I want to disable the hardware so that OS do not detects/identifies problem with Camera.
I tried to disable the camera using apps available in the play store but even after installing them., OS detects the hardware of camera, so my purpose is not solved.