summaryrefslogtreecommitdiffstats
path: root/media/img_utils
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2014-09-25 14:48:28 -0700
committerEino-Ville Talvala <etalvala@google.com>2014-09-25 15:05:55 -0700
commitb5bd1df2d6c78f8db5e7f6b416353ca8a93b7119 (patch)
tree3f836f2e6d08b59a3a52fa06fb8a3e0832dae80e /media/img_utils
parente0711f2651121754a10c784e3b149024d17fa4d5 (diff)
downloadframeworks_av-b5bd1df2d6c78f8db5e7f6b416353ca8a93b7119.zip
frameworks_av-b5bd1df2d6c78f8db5e7f6b416353ca8a93b7119.tar.gz
frameworks_av-b5bd1df2d6c78f8db5e7f6b416353ca8a93b7119.tar.bz2
Camera1 shim: If there's no flash, the keys need to be null.
Previously, we set FLASH_MODE_OFF for FLASH_MODE when a flash unit isn't available. However, per the API documentation, the key has to be null instead. - Make sure that the flash mode and supported flash mode keys are null if there's no flash unit on start - Don't set flash mode in later setParameters calls if there is no flash unit - Map NULL value for flash mode key to FLASH_MODE_OFF for internal consistency. Bug: 17660716 Change-Id: I3033682f0b882b8c2004114e2afef31662caebda
Diffstat (limited to 'media/img_utils')
0 files changed, 0 insertions, 0 deletions