commit | fca5fd5fd09b8372e2db85032e473bda9b890ed8 | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Tue Apr 24 10:18:37 2018 -0700 |
committer | Shuzhen Wang <shuzhenwang@google.com> | Tue Apr 24 11:50:20 2018 -0700 |
tree | 0ef1f13b4a0f34282594e1b9eefd7d47050484cb | |
parent | 4b6e94dada8c18d784360ceb0f6ff1ef5e35f801 [diff] |
Camera: Fix testCameraManagerOpenAllCameras for conflicting devices When 2 camera devices conflict with each other, opening of one device could result in the other device to be evicted. Fix the test for such case by resetting the mock before calling close(). Test: Run testCameraManagerOpenAllCameras and pass Bug: 78483746 Change-Id: I82a93fe3fffbb3303b30cf781ed17e91aa780ac0