Comment 10 for bug 1130992

Revision history for this message
Günter Schwann (schwann) wrote :

the problem is, that in android
frameworks/av/services/camera/libcameraservice/CameraClient.cpp the function
static int getCallingPid() {
    return IPCThreadState::self()->getCallingPid();
}
always returns 0. I guess that's because of the flipped container image,
getting the process ID is broken.

Because of that mClientPid is always 0, and that causes
CameraClient::disconnect() to abort in line 232

The reason that the N10 works, is that the N10 uses CameraClient2