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
the problem is, that in android av/services/ camera/ libcameraservic e/CameraClient. cpp the function :self() ->getCallingPid ();
frameworks/
static int getCallingPid() {
return IPCThreadState:
}
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 :disconnect( ) to abort in line 232
CameraClient:
The reason that the N10 works, is that the N10 uses CameraClient2