title: Implements of android P Prevent Idle Background Apps from Accessing the Camera
body: <p>I saw this news <a href="https://www.xda-developers.com/android-p-background-apps-camera/" rel="nofollow noreferrer">say android P Prevent Idle Background Apps from Accessing the Camera</a>, And dive into Android Open Source Project (AOSP) <a href="https://android-review.googlesource.com/c/platform/system/sepolicy/+/588493" rel="nofollow noreferrer">link</a> only seen this commit only modified the selinux(te) file, And curious about how it works, anyone could give me more details about this ?</p>
  
  <ol>
  <li><p>Whether there are some codes relevant to this feature is close sourced? (since I watched the repository <a href="https://android-review.googlesource.com/admin/repos/platform/frameworks/av" rel="nofollow noreferrer">platform/frameworks/av</a> but found nothing about what I think is doing with this feature, also I searched AOSP with keyword camera but found nothing.</p></li>
  <li><p>Any clue about How could I know how this feature works?</p></li>
  </ol>