title: How to find out if the current device has camera2 api support or not
body: <p>I am using camera2 api in my application but some of the device like Redmi note 3 are not supporting it even when these devices are using lollipop android version. Now my query is how would I check if the device has camera2 api support or not in my app</p>