diff options
author | Shuzhen Wang <shuzhenwang@google.com> | 2017-01-25 11:53:22 -0800 |
---|---|---|
committer | Shuzhen Wang <shuzhenwang@google.com> | 2017-01-25 12:22:01 -0800 |
commit | e56e606f82c94ab9adce1e6b69881653c225cf20 (patch) | |
tree | a67267a530889b2aacb72c2e76e3640b88fd2523 /tools/aapt2/diff/Diff.cpp | |
parent | ff256204e8182b688b81ad9707ce97153687804f (diff) |
Camera2: Handle (0, 0) size for deferred OutputConfiguration
We need to handle below sequence of events:
1. OutputConfiguration(Size(0, 0), klass)
2. addSurface(surface)
3. createCameraCaptureSession
In this case, allow the addSurface() to succeed.
Test: camera works in keep/hangouts/contacts
Bug: 34697112
Change-Id: I726c60cce9a11c69b050aad47f4ed4a0a7a0870e
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions