OSDN Git Service

Use support level ZSL and Flash only when platform supports
authorEiichi,Ohnishi <Eiichi.Ohnishi@sony.com>
Wed, 12 Jul 2017 08:33:31 +0000 (17:33 +0900)
committerHidenari Koshimae <hidenari.koshimae@sonymobile.com>
Wed, 19 Jul 2017 06:34:28 +0000 (15:34 +0900)
commite55a71da61353f53fc054f17b8b487f6ca50eb95
tree6772e0bd5b6143ff77b24f8945bb4994fe59c80b
parentd396acf862f82209cd5d770a3f03fc95d3b7326b
Use support level ZSL and Flash only when platform supports

Camera2 does not work when platform has no capability for ZSL and Flash.
To avoid this:

 - Select support level LIMITED_YUV when reprocessing is not supported.
   And use TEMPLATE_STILL_CAPTURE instead of
   TEMPLATE_ZERO_SHUTTER_LAG to take picture in LIMITED_YUV.

 - Select Flash off when Flash is not supported.

Bug: 63694123
Change-Id: I147c275f9126be0e1050c6cc61896adebce5c578
src/com/android/camera/one/OneCameraCaptureSetting.java
src/com/android/camera/one/config/OneCameraFeatureConfigCreator.java
src/com/android/camera/one/v2/photo/PictureTakerFactory.java