commit | c675aa5270dc1269488c2e25568153bdad512c5b | [log] [tgz] |
---|---|---|
author | Roman Kiryanov <rkir@google.com> | Tue Oct 22 11:59:41 2019 -0700 |
committer | Roman Kiryanov <rkir@google.com> | Tue Oct 22 11:59:41 2019 -0700 |
tree | 5c725f06ee2e5c411fe596e1631dd5fdbfd3447c | |
parent | 228f26743d3e95ee016b74cba7181e6bb0a34653 [diff] |
Refactor lock/unlock Move the usage dependent codepath from unlock to lock, also make lock/unlock more symmetric in checking if hostHandle is available. Bug: 141385612 Test: boot, check if the virtual scene camera shows Test: the picture and takes photos and videos. Change-Id: I41d070dd051a1185276e34c27d8ccdbe48b4b4d7 Signed-off-by: Roman Kiryanov <rkir@google.com>