MediaProjection lockscreen recording Roles

Allow apps holding the android.app.role.COMPANION_DEVICE_APP_STREAMING
role to record the lockscreen

Bug: 367301791
Test: com.android.server.media.projection.MediaProjectionManagerServiceTest#testCreateProjection_keyguardLocked_RoleHeld
Flag: android.companion.virtualdevice.flags.media_projection_keyguard_restrictions
(cherry picked from commit a1b5763f22284ac5b3ea56cc3d50cd9ff3161e68)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:869074c0ba83e914538ee4082f0fa6ec2079e7bd)
Merged-In: Iccb22027040315514c73bbb228d118dd03182635
Change-Id: Iccb22027040315514c73bbb228d118dd03182635
2 files changed