Merge "Camera: Don't hold 'mLock' when closing the camera session" into pie-vts-dev

This commit is contained in:
Treehugger Robot 2018-08-28 19:11:28 +00:00 committed by Gerrit Code Review
commit 75ceb36b27

View file

@ -4044,12 +4044,12 @@ TEST_F(CameraHidlTest, flushPreviewRequest) {
<< static_cast<uint32_t>(inflightReq.errorCode); << static_cast<uint32_t>(inflightReq.errorCode);
} }
} }
}
ret = session->close(); ret = session->close();
ASSERT_TRUE(ret.isOk()); ASSERT_TRUE(ret.isOk());
} }
} }
}
// Verify that camera flushes correctly without any pending requests. // Verify that camera flushes correctly without any pending requests.
TEST_F(CameraHidlTest, flushEmpty) { TEST_F(CameraHidlTest, flushEmpty) {