Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 128b35d8 authored by Shuzhen Wang's avatar Shuzhen Wang
Browse files

Revert "Revert "camera2-legacy: Workaround max jpeg/preview size AR mismatch""

This reverts commit fd258c22.

Restoring the original workaround because it breaks CTS test
case CaptureRequestTest#testDigitalZoom.

Please note that this change would re-introduce known issue
on some platforms.
[b/19197450] RecordingTest#testBasicRecording fails if
max preview/video size aspect ratio is different than max
picture size aspect ratio.

Original commit message:
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: I7200dc04c8d56936af3cb3f685e76268e87fbf6e
parent 72aab106
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment