I'm trying to capture using both of the rear facing cameras on my xiaomi mi 5s plus. When I'm trying to iterate through the id's of the cameras using camera2 api, I only get 2 id's, one for the front facing camera and one for the rear one. I've looked in the lg development examples (http://mobile.developer.lge.com/develop/sdks/lg-dual-camera/) and they are using 3 ids. When running their example, the app crashes.
The code used for getting the ids is:
CameraManager manager = (CameraManager) getSystemService(Context.CAMERA_SERVICE);
for(String id: manager.getCameraIdList())
Log.e("test", id);