commit | d8a27d5fc787f8839d3185f2b9137a8c2f1d68a0 | [log] [tgz] |
---|---|---|
author | Tyler Gunn <tgunn@google.com> | Wed Nov 30 15:19:13 2016 -0800 |
committer | Brad Ebinger <breadley@google.com> | Wed Feb 08 11:52:05 2017 -0800 |
tree | 4a8f317ab8b3a4d9ff03edab9be210f43ca72b58 | |
parent | 13378b99665c40db0a3f98110097e36a168498c2 [diff] |
When setting camera, ensure calling user is the same as logged in user. When the VideoProvider API is used to change the camera, in addition to performing permission checks on the caller, adding logic to ensure that the calling UserHandle is the currently logged in User (this is to ensure that a background app can't access the camera). Test: Unit, manual Bug: 32747443 Change-Id: I0856f991c520dd1f5fa0146919941c052cba8a01