diff options
| author | 2024-10-23 10:26:32 -0400 | |
|---|---|---|
| committer | 2024-11-04 12:12:58 -0500 | |
| commit | 7fbe13d2a8d1605f413e6ae585b6455eda9bcd45 (patch) | |
| tree | 6591f79918c7d736c954572da4854f557707cdbc /libs/androidfw/AssetsProvider.cpp | |
| parent | 49cf41db6203179d24062a73796e654282a3d324 (diff) | |
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
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions