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

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

Screenshot Policy updates

Corrections and improvements:

   The information returned is now more carefully identified:

   * CaptureParameters now have a distinct field 'contentTask'
     from the 'owner'. This information is used for followup
     screenshot actions which operate on a single app window,
     such as scroll capture search and assist content query.

   * This field usually (but not always) represents the
     focused task. This task can frequently belong to a user
     other than the owner of the screenshot.

   Several additional cases are now correctly handled:

   * If there is a Private profile app in a Picture-In-Picture
     window, the screenshot is now directed to the private
     profile.

   * If a work profile app is in desktop mode, with a maximized
     window it will be treated the same as full screen, saved
     with a task snapshot and assigned to the work profile
     user.

Bug: 365597999
Flag: com.android.systemui.screenshot_policy_split_and_desktop_mode
Test: atest ScreenshotPolicyTest
Change-Id: Ife74e54e54c2fca526a761eb061d5d0c323b7ef4
parent 49cf41db
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