diff options
Diffstat (limited to 'src/android')
-rw-r--r-- | src/android/camera_device.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/android/camera_device.cpp b/src/android/camera_device.cpp index a81e3c90..72a89258 100644 --- a/src/android/camera_device.cpp +++ b/src/android/camera_device.cpp @@ -376,13 +376,15 @@ int CameraDevice::initialize() facing_ = CAMERA_FACING_BACK; break; case properties::CameraLocationExternal: - /* - * \todo Set this to EXTERNAL once we support - * HARDWARE_LEVEL_EXTERNAL - */ - facing_ = CAMERA_FACING_FRONT; + facing_ = CAMERA_FACING_EXTERNAL; break; } + } else { + /* + * \todo Retrieve the camera location from configuration file + * if not available from the library. + */ + facing_ = CAMERA_FACING_FRONT; } /* |