OSDN Git Service

Camera3: Fix initial orientation configuration.
authorEino-Ville Talvala <etalvala@google.com>
Fri, 10 May 2013 00:03:54 +0000 (17:03 -0700)
committerThe Android Automerger <android-build@android.com>
Fri, 10 May 2013 19:10:37 +0000 (12:10 -0700)
One call to set orientation too many.

Bug: 8683719
Change-Id: I4b776fc8665eed940a1f18a6f617be4f1406e41a

services/camera/libcameraservice/camera3/Camera3OutputStream.cpp

index ec8cf0d..ddb1d6d 100644 (file)
@@ -335,11 +335,6 @@ status_t Camera3OutputStream::configureQueueLocked() {
         return res;
     }
 
-    res = setTransformLocked(0);
-    if (res != OK) {
-        return res;
-    }
-
     if (mMaxSize == 0) {
         // For buffers of known size
         res = native_window_set_buffers_geometry(mConsumer.get(),