commit | dc1c14fefacc744c5e11aea7a0874ef9f0639583 | [log] [tgz] |
---|---|---|
author | Christopher Wiley <wiley@google.com> | Fri Feb 12 11:40:27 2016 -0800 |
committer | Christopher Wiley <wiley@google.com> | Tue Feb 16 09:23:28 2016 -0800 |
tree | da891e3c7454a028477fe586eb088c23ac5bbb9f | |
parent | 2bbb465d4efa8ae6fd26ab5e3376bcf48a84ed77 [diff] |
Support generic buffers in EmulatedFakeCamera3 When we're using a gralloc HAL other than the goldfish version (e.g. gralloc.default, which gralloc.goldfish will fall back on), we are not given cb_handle_t. Check for this and fall back appropriately. Bug: 26936651 Test: brilloemulator stops complaining about a format of 0. Change-Id: I7a84c775ee6c49e23c82afb8f8b1f490505a55c5