1
0
mirror of https://github.com/danog/termux-api.git synced 2024-12-14 10:27:54 +01:00
termux-api/app
Ted Stein 4b3a1528b0 PhotoAPI: Take sensor orientation into account.
On a Nexus 5X, the old code would take pictures that were upside-down.
Apparently, the Android device standards require that the long edge of the
sensor must align with the long edge of the device, but doesn't say which of the
two ways to satisfy this manufacturers should pick. This change makes PhotoAPI
generate right-side-up pictures in both conditions.

Tested on a Nexus 7 (second-gen) and a Nexus 5X.
2015-11-29 01:27:21 -08:00
..
src/main PhotoAPI: Take sensor orientation into account. 2015-11-29 01:27:21 -08:00
build.gradle Cleanup build.gradle 2015-11-28 11:56:37 +01:00