commit | 85cf082d6262a250f047e74daf65ecc8399eee34 | [log] [tgz] |
---|---|---|
author | dkati <dkatikaridis@gmail.com> | Wed Jun 27 23:58:31 2018 +0300 |
committer | Jackeagle <jackeagle102@gmail.com> | Tue Nov 12 02:49:34 2019 -0500 |
tree | cd45fda5f16e93b04c63d7e3e2d108a486d9dc84 | |
parent | 978733389dc135d163e9b1dc6a4b17e699234ca9 [diff] |
CameraSettings: Do not crash if zoom ratios are not exposed * On some devices, wrappers do not expose the zoom ratios, so the list of zoomRatios is empty. So the .add() method cant run from a null class. If zoom ratios are not exposed, simply return an empty list and the camera will take the default HAL's zoom ratios -This fixes front camera photo shoot on jfltexx Change-Id: Ic64e41a8c5a2d51966ec95d4b020e5d3951eac0e