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

Skip to content
Commit d39fd18d authored by Mark Renouf's avatar Mark Renouf
Browse files

Improved screenshot policy for desktop and split mode

The new unified policy class simplifies the rules and behavior
of screenshots, handling situations with mixed profile content
on screen.

Improvements:

When two work profile tasks apear as split-screen mode, the
screenshot will now capture both.

When desktop mode is active with freeform windows, content
will be saved to the private profile if any is private profile,
otherwise to the personal profile.

When in desktop mode with a single maximized window, it is
treated as a full screen task and handled accordingly.

The focused task is no longer used to determine the owner of the
screenshot making the result less surprising to end users.

If work content appears beside personal content in split mode,
the screenshot will remain full-screen and be saved to the personal
profile.

Bug: 365597999
Flag: com.android.systemui.screenshot_policy_split_and_desktop_mode
Test: atest ScreenshotPolicyTest
Change-Id: I5353b477d527b79f8b95803d7ba6136fdba441be
parent 9c6750cf
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