Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8769c86b authored by Ricardo Cerqueira's avatar Ricardo Cerqueira Committed by Gerrit Code Review
Browse files

Merge "Always set buffers orientation when setting the qcom camera preview window" into ics

parents 2dfee4d6 1a8e41a3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -588,6 +588,9 @@ status_t CameraService::Client::setPreviewWindow(const sp<IBinder>& binder,
#ifdef QCOM_HARDWARE
#ifndef NO_UPDATE_PREVIEW
    } else {
        if (window != 0) {
            native_window_set_buffers_transform(window.get(), mOrientation);
        }
        result = mHardware->setPreviewWindow(window);
#endif
#endif