commit | 88fd00509164dc46a98ff2921c956e2d37919117 | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Thu Feb 09 16:40:07 2017 -0800 |
committer | Shuzhen Wang <shuzhenwang@google.com> | Mon Feb 13 13:39:29 2017 -0800 |
tree | a255a4a0c2ac5655a4022e35fa95ee7fdce51c00 | |
parent | f5f4056014118f6ddd16affe853fd0605001ab40 [diff] |
Camera: Allow finalizeOutputConfiguration not adding new surface If the application calls finalizeOutputConfiguration without adding new surface, as long as there is at least one surface in the OutputConfiguration, do not throw exception. Add logic to not allow finalizeOutputConfigurations twice on a particular stream. Test: testDeferredSurfaces cts and GoogleCameraApp manual test. Bug: 35137641 Change-Id: I96061231e9b884e73c92520e7f2c021db32fa731