commit | 73ec9851f8e92968ac50193916526afd8f1343fc | [log] [tgz] |
---|---|---|
author | Sol Boucher <solb@google.com> | Thu Jul 24 23:59:21 2014 -0700 |
committer | Sol Boucher <solb@google.com> | Thu Jul 31 13:34:27 2014 -0700 |
tree | 7213706753fe6b07662afd5108600b6dc3a3adc8 | |
parent | 00d8bbc97d970db9604474210554caa18935c7eb [diff] |
Move display orientation calculations out of app code 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