summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authordkati <dkatikaridis@gmail.com>2018-06-27 23:58:31 +0300
committerMichael Bestas <mkbestas@lineageos.org>2019-11-09 22:47:26 +0200
commitab012beba808feaf2fec637c5aa8a2d7991eca9f (patch)
tree23521433c010fabeb02d59a9d50c4ca25e2b6bb1 /Android.mk
parent60a285627fcce6fe2d677efde4ce924946a2ec25 (diff)
downloadandroid_packages_apps_Snap-ab012beba808feaf2fec637c5aa8a2d7991eca9f.tar.gz
android_packages_apps_Snap-ab012beba808feaf2fec637c5aa8a2d7991eca9f.tar.bz2
android_packages_apps_Snap-ab012beba808feaf2fec637c5aa8a2d7991eca9f.zip
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
Diffstat (limited to 'Android.mk')
0 files changed, 0 insertions, 0 deletions