It seems there is a bug in that commit : 
https://git.launchpad.net/~libhybris-maintainers/libhybris/+git/libhybris/commit/?id=9baee354fe513020aa2197b0b0769dd06a2585bc

+               if (ci.facing != camera_type)
+                       continue;
+
+               return android_camera_connect_by_id(camera_id, listener);

The continue statement will branch to the end of the loop, on the return
line, as opposed to skipping to the next loop iteration.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1535670

Title:
  Camera selection doesn't work: it always returns the front camera

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libhybris/+bug/1535670/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to