If I setup an AVD with front and back phones set to NONE, the code that checks for FEATURE_CAMERA or FEATURE_CAMERA_FRONT still passes. and the button stays enabled. However, when I click the button I get an exception. So, it seems the PackageManager checks do not agree with the emulator settings. So, I tried to find a device that doesn’t have a camera. None of the devices you can select are camera-less.
Did Google make a phone that supports API 8+ that does not have a camera? Can we test this?