OSDN Git Service

Camera2: Fix deadlock while zooming during record
authorIgor Murashkin <iam@google.com>
Wed, 3 Oct 2012 23:02:09 +0000 (16:02 -0700)
committerIgor Murashkin <iam@google.com>
Wed, 3 Oct 2012 23:48:48 +0000 (16:48 -0700)
commit04273cb14d2326e85bb047ea6ef75294c8b3d561
tree88ad9452e7ec70825d15b5c179d06e4268eab939
parentc20630569431234db23b6182dd17102023dee68e
Camera2: Fix deadlock while zooming during record

Acquired SharedParameters before mMutex in StreamingProcessor,
this avoids any potential deadlocks since Camera2Client code would
always acquire SharedParameters first before invoking StreamingProcessor.

Bug: 7275259
Change-Id: Ia741162c455300378bee049f063590ece5328b95
services/camera/libcameraservice/camera2/StreamingProcessor.cpp