ahcsrc: adjustable 'display-orientation' property
@joykim
Submitted by Justin Kim Link to original bug (#784605)
Description
Without compensation of the orientation degrees, 'ahcsrc' displays upside-down screen when the android device is rotated left at 90 degrees. This compensation value is available from the android developer site[0].
I couldn't find a good way to set this value in Java-side while 'ahcsrc' is working so I added a JNI function which was omitted before.
[0] https://developer.android.com/reference/android/hardware/Camera.html#setDisplayOrientation(int)