diff options
| author | 2024-08-21 16:04:32 +0000 | |
|---|---|---|
| committer | 2024-08-21 16:20:33 +0000 | |
| commit | 14a7334f0d09ad6a8030707e5c88e60306943c47 (patch) | |
| tree | 5ea59f6ab60a36aec1de0859088f84eaa7b3304e /tests/SystemUIDemoModeController/AndroidManifest.xml | |
| parent | b31e37a5e2901b5ef7bf842d962866e28256c74b (diff) | |
Fix takeScreenshot for visible background users.
There is some implementation in UiAutomation and UiAutomationConnection
for cases where visible background users take screenshots.
However, currently, even if visible background users take screenshots,
it is set to take screenshots of the default display rather than
the secondary display used by the visible background users.
This modifies to take screenshots from the display used by the user
who requested it, during taking screenshots through UiAutomation.
Bug: 355647098
Flag: EXEMPT (bug fix)
Test: atest CtsUiRenderingTestCases:android.uirendering.cts.testclasses.SurfaceViewTests
Test: atest CtsUiRenderingTestCases:android.uirendering.cts.testclasses.SurfaceViewTests --user-type secondary_user
Test: atest CtsUiRenderingTestCases:android.uirendering.cts.testclasses.SurfaceViewTests --user-type secondary_user_on_secondary_display
Test: atest CtsWindowManagerDeviceAnimations:android.server.wm.animations.BlurTests
Test: atest CtsWindowManagerDeviceAnimations:android.server.wm.animations.BlurTests --user-type secondary_user
Test: atest CtsWindowManagerDeviceAnimations:android.server.wm.animations.BlurTests --user-type secondary_user_on_secondary_display
Change-Id: I6f261c18f2807ff038ae93d1306934f31922fb82
Diffstat (limited to 'tests/SystemUIDemoModeController/AndroidManifest.xml')
0 files changed, 0 insertions, 0 deletions