OSDN Git Service

Camera2: Don't promote weak IBinder ptrs to strong ones
authorIgor Murashkin <iam@google.com>
Fri, 5 Oct 2012 17:44:57 +0000 (10:44 -0700)
committerIgor Murashkin <iam@google.com>
Fri, 5 Oct 2012 17:44:57 +0000 (10:44 -0700)
commit507994d0312f89127562a1401f118439f810e751
tree4edcc4b9233439a909714e077763c3e5b6866731
parent1daada32f8eefd8951541ba243969b341deaaba5
Camera2: Don't promote weak IBinder ptrs to strong ones

The Binder driver does not support promoting weak pointers into strong
pointers. Occassionally the system would lock up when trying to do this
(when closing the camera app).

Bug: 7289040
Change-Id: I8bc0b5c48616bf0b7f4eed1878ad4994ee635871
services/camera/libcameraservice/CameraService.cpp
services/camera/libcameraservice/CameraService.h