commit | 10f9921648c336fa1d5d9fcaf64b70664ef77925 | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Thu Feb 02 18:55:31 2023 -0800 |
committer | Shuzhen Wang <shuzhenwang@google.com> | Thu Feb 02 18:55:31 2023 -0800 |
tree | 5494fe9e3b5e3f49ced44c0ce4f6db1a4f7d2301 | |
parent | 0e50045c6201e24c45fd205992ebdb3321dabd1b [diff] |
Camera: Use area to check against 1080p size Some devices may support portrait resolutions in addition to landscape. To better handle those cases, use area to compare size rather than comparing width and height separately. Test: Camera CTS Bug: 264498709 Change-Id: I9060ebbd11cba4f2f55b01cc21c8f091ddc900a6