Auto-stop MediaProjection when screen is locked

 - Stop MP when the keyguard is locked
 - Do not start MP when the keyguard is locked
 - Packages that hold RECORD_SENSITIVE_CONTENT and the ones that are
   used as bugreport packages are exempt

BYPASS_INCLUSIVE_LANGUAGE_REASON=calling existing method
Bug: 348335290
Test: atest MediaProjectionManagerServiceTest
Flag: android.companion.virtualdevice.flags.media_projection_keyguard_restrictions

Change-Id: Ia526ba0d19e20d50f963a7869729d83164a4116f
3 files changed