commit | 31ae4edf4997b2af44c032f7f9103e3b2dd6f29e | [log] [tgz] |
---|---|---|
author | Haoxiang Li <haoxiangl@google.com> | Fri Sep 06 16:35:09 2019 -0700 |
committer | Haoxiang Li <haoxiangl@google.com> | Thu Sep 12 17:15:17 2019 -0700 |
tree | cb254e93d9fe1a7ea2da51b03d38b053c67d7f42 | |
parent | bf812e02e5735f82f45c6a148576ceccf354da47 [diff] |
Add a default constructor for BaseUseCase class. The new constructor takes a camera id list as input parameter, which indicates that there should always be at least a camera bound to a valid use case. The implementation for DisplayUseCase's constructor is also modified accordingly. Test: build and run on Hawk device Bug: 130246434 Change-Id: I9506c5fba89f1ee0e3275f9c7a8eaac4cd0cca75
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.