diff options
Diffstat (limited to 'camera/QCamera2/QCamera2Factory.cpp')
-rw-r--r-- | camera/QCamera2/QCamera2Factory.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/camera/QCamera2/QCamera2Factory.cpp b/camera/QCamera2/QCamera2Factory.cpp index 676dd65..6101036 100644 --- a/camera/QCamera2/QCamera2Factory.cpp +++ b/camera/QCamera2/QCamera2Factory.cpp @@ -58,7 +58,6 @@ QCamera2Factory *gQCamera2Factory = NULL; *==========================================================================*/ QCamera2Factory::QCamera2Factory() { - camera_info info; mHalDescriptors = NULL; mCallbacks = NULL; mNumOfCameras = get_num_of_cameras(); @@ -78,10 +77,6 @@ QCamera2Factory::QCamera2Factory() } else { mHalDescriptors[i].device_version = CAMERA_DEVICE_API_VERSION_1_0; } - //Query camera at this point in order - //to avoid any delays during subsequent - //calls to 'getCameraInfo()' - getCameraInfo(i, &info); } } else { ALOGE("%s: Not enough resources to allocate HAL descriptor table!", |