The camera service (which was working fine before) is now broken. Something in the backend is no longer working. Without any change in the code, the service which was previously supposed to be opening Camera, the service now opens up gallery to select pictures.
I tried to re-add the service and checked the code, all is well but the service still does not work. We are busted for an urgent feature.