Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cd7ae441 authored by Chris Göllner's avatar Chris Göllner Committed by Daniel Akinola
Browse files

PSS opt-out override: move logic to MediaProjectionManager

Relanding PSS opt-out override from ag/25896593. Initial implementation defined the ChangeId on SysUI side, but SysUI tests seemed to not recognise it being disabled by default, leading to SysUI test failures. Now instead defining the ChangeId in MediaaProjectionmanager, SysUI is able to properly to read the override as disabled by default, so shouldn't break existing SysUI E2Es.

Bug: 316897322
Flag: None
Test: atest packages/SystemUI/tests/src/com/android/systemui/mediaprojection/permission/MediaProjectionPermissionDialogDelegateTest.kt
Test: atest packages/SystemUI/tests/src/com/android/systemui/screenrecord/ScreenRecordPermissionDialogDelegateTest.kt
Test: atest CtsMediaProjectionTestCases:MediaProjectionCompatChangeTests
Test: atest PlatformScenarioTests:android.platform.test.scenario.sysui.mediaprojection.MediaProjectionPermissionTest
Change-Id: Ibb9ec963a094ab384980bcbd58c68a39d6094ef2
parent 0b65a14b
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