History log of /frameworks/base/core/java/android/hardware/camera2/legacy/SizeAreaComparator.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a0496d34ffc5153bf933cacbd4be71a4a1bd4041 24-Sep-2014 Igor Murashkin <iam@google.com> camera2-legacy: Workaround max jpeg/preview size AR mismatch

Filter out the largest preview sizes (from the stream configuration map)
until we find one whose aspect ratio matches the max jpeg aspect ratio.
Keep all other (smaller) preview sizes.

Bug: 17589233
Change-Id: I8ebcaef6439691eff3312da2c37b9abe08a067ad
/frameworks/base/core/java/android/hardware/camera2/legacy/SizeAreaComparator.java