diff options
author | Alan Stokes <alanstokes@google.com> | 2020-04-24 17:08:26 +0100 |
---|---|---|
committer | Alan Stokes <alanstokes@google.com> | 2020-05-12 14:17:21 +0100 |
commit | b3d4b64c0d2d95854ccfcfd4a7f6329b1258e2c1 (patch) | |
tree | 7d5be7aa83e2c4fa81f2160c0df97c4699d06bd0 /graphics/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | d1979ef0f8d86e9fa3eb9d23876a4a417c8572a9 (diff) |
Grant SYSTEM_ALERT_WINDOW during screen capture.
While an app has an active screen capture MediaProjection, enable the
SYSTEM_ALERT_WINDOW app op for it if it requests the permission and
the user hasn't explicitly allowed or denied it. This enables the app
to use TYPE_APPLICATION_OVERLAY windows to show custom UI on top of
what is being captured. Needed for live-streaming apps.
Test: Manual, using a hand-written fake recording app and a real one
Test: atest MediaProjectionTest
Bug: 148002116
Change-Id: I503f3223608627c80520e98be840f793efd53d2a
Diffstat (limited to 'graphics/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions