diff options
| author | Narayan Kamath <narayan@google.com> | 2019-03-01 16:53:26 +0000 | 
|---|---|---|
| committer | Narayan Kamath <narayan@google.com> | 2019-03-14 15:13:09 +0000 | 
| commit | 396ce7296bba8d21037961625b41072cf20b61b8 (patch) | |
| tree | ead811988a5aa3e24245cb602e124fa468c3c79c /rs/java/android/renderscript/Program.java | |
| parent | 4719ffe5553a9a1e5c78c438f6e7631ffbd17d56 (diff) | |
Require a foreground service of a specific type to start media projection.
The flow for apps targeting Q is :
- We check at the point of starting a projection whether the UID making
  the request has a foreground service active with the type
  FOREGROUND_SERVICE_TYPE_MEDIA_PROJECTION
- The MediaProjectionManager registers a Process change observer to be
  notified whenever the list of f/g service types associated with the
  UID changes, and may stop the projection
Bug: 124753835
Test: Manual; CTS test in progress.
Change-Id: Iedcb9e944f5a7e2e59ba3b9831cdff619776e9e2
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions
