Skip to content
Commit 396ce729 authored by Narayan Kamath's avatar Narayan Kamath
Browse files

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
parent 4719ffe5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment