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

Commit 22b4f81b authored by Daniel Norman's avatar Daniel Norman
Browse files

Stop blocking preinstalled a11y tools from taking FLAG_SECURE screenshots.

Requires moving the caller of ScreenCapture's screenshot method from the
app process to the system_server process since capturing FLAG_SECURE
content, even for an app capturing its own content, requires permission
CAPTURE_BLACKOUT_CONTENT which is a signature permission.
system_server was already used for full-display accessibility screenshots.

Bug: 373705911
Test: atest AbstractAccessibilityServiceConnectionTest
Test: atest AccessibilityInteractionControllerTest
Test: atest AccessibilityTakeScreenshotTest
Flag: com.android.server.accessibility.allow_secure_screenshots
Change-Id: Ifb711222a42fa18abcabefafdef22daf46402955
parent c42e473b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment