diff options
author | Shuzhen Wang <shuzhenwang@google.com> | 2020-04-06 15:23:08 -0700 |
---|---|---|
committer | Shuzhen Wang <shuzhenwang@google.com> | 2020-04-06 15:30:50 -0700 |
commit | b80734fa0992c2796bb9d2863357cbb5fa19ec1c (patch) | |
tree | b68bd86e7f2bceb72a18a8ae29520684431e12f4 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | fc294e8603a559e18d5140a45bce5af379d5e32c (diff) |
Camera: Fix condition check for min/max zoom ratios
- minZoomRatio can be larger than 1.0f
- assert both min and max zoom ratios to be greater than 0.
- assert min zoom ratio to be equal or smaller than max zoom ratio.
Test: CTS on Cuttlefish camera
Bug: 153377715
Change-Id: Ia5d3f2ec7a51d4a35f199abe15a90c72cb7f3456
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions