OSDN Git Service

Camera: Limit valid caller PIDs for camera clients.
authorEino-Ville Talvala <etalvala@google.com>
Wed, 10 Oct 2012 05:16:58 +0000 (22:16 -0700)
committerEino-Ville Talvala <etalvala@google.com>
Wed, 10 Oct 2012 16:39:37 +0000 (09:39 -0700)
commitc03792041b9dd6f7f54abd6c82bd6c755a336cd8
tree7d912a2e4074c729be06d66fdc7f05ac0f496db6
parent2b0db6aea3be519334f340ca97581db902196690
Camera: Limit valid caller PIDs for camera clients.

Narrow down on PID checks to avoid cases where service can access the
camera even though it shouldn't be able to, per API semantics.

Bug: 6970469

Change-Id: Ic468a31949c28ef978b6ed48a70e4601c7ced684
services/camera/libcameraservice/Camera2Client.cpp
services/camera/libcameraservice/CameraClient.cpp