Commits

Sauhard Pande authored cfd08f70c83
Camera: Expose dual camera for whitelist app Issue: In Bayer+Mono dual camera case, the 3rd party apk may not be able to handle additional aux camera and may cause crash, also as mono camera doesnt support all capabilities of HAL3 it may cause CTS failure. Fix: 1. Expose aux camera to apps present in the whitelist ("camera.aux.packagelist") 2. ignore the availabe/unavailable status update for aux camera - needed to fix testCameraManagerListenerCallbacks. 3. returning exception for open request for bad cameraid (if cameraid requested by non-whilisted app is more than number of cameras exposed) - needed to fix testMultipleCameras CRs-Fixed: 1086937 Change-Id: I15910154c6df205e6d4e00bfad30a00c9e3d5bee