summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorShuzhen Wang <shuzhenwang@google.com>2017-01-27 22:32:26 -0800
committerShuzhen Wang <shuzhenwang@google.com>2017-01-30 14:58:55 -0800
commit21d63b2836e42133dd8856f260e0854018667780 (patch)
tree2b0f3a7b4baefca3682119d5c94bb16fd97a05ad /tools/aapt2/diff/Diff.cpp
parent9f5d2b08868a990bc4d1f6b0bbf52bf14b60c3af (diff)
Camera2: Do not throw exception if addSurface size doesn't match
During addSurface, the surface size may not match the preconfigured size, because the surface could be asynchronously changing its size. Only log a warning in this case, and depend on native implementation of createCaptureSession or finalizeOutputConfigurations to detect the size mismatch. This also reverts commit e56e606f82c94ab9adce1e6b69881653c225cf20, and enforce the surfaceSize for deferred OutputConfiguration is not 0. Test: Camera CTS Bug: 34737377 Bug: 34697112 Change-Id: I4b66166a9a2739a09a16d635d2599a9bcf5c036b
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions