commit | 98a668f6ea51e4d894d2ebb61a0e18287fb14008 | [log] [tgz] |
---|---|---|
author | Chien-Yu Chen <cychen@google.com> | Fri Dec 18 14:10:33 2015 -0800 |
committer | Chien-Yu Chen <cychen@google.com> | Mon Jan 25 17:47:12 2016 -0800 |
tree | 2e0942e593e58b5b6c44b87526a35dbf3d808b34 | |
parent | 1f36e3b27abfb16bc5e788e253d367eff4886dba [diff] |
Camera: Fix client permission check Modify StageFright's CameraSource to forward calling PID as client PID when connecting to CameraService so CameraService can check if the client PID has permission to use camera. Change CameraService to check calling UID is trusted before using the passed in client PID and client UID to verify permission. Bug: 24511454 Change-Id: I4906ab73510e2c75714690bed675e3c13aca3ccf