• Sol Boucher's avatar
    Move display orientation calculations out of app code · 73ec9851
    Sol Boucher authored
    Because they're needed by every app, these are being relocated into the
    portability layer. As such, the CameraUtil#getDisplayOrientation() and
    CameraUtil#getJpegRotation() methods are being replaced by the API-agnostic
    CameraDeviceInfo.Characteristics#getPreviewOrientation() and
    CameraDeviceInfo.Characteristics#getJpegOrientation() calls, respectively.
    
    Change-Id: I5048e6f1a5ff655e4ea260b109e7c104bbe790b0
    73ec9851
CameraUtil.java 43.3 KB