diff options
| author | 2024-09-24 18:17:04 -0700 | |
|---|---|---|
| committer | 2024-10-02 01:56:22 +0000 | |
| commit | 396c428fa1ce3808e3820b2bc539484cb3fbd8e7 (patch) | |
| tree | 61fb3b8c7f9031fb4204ef4654482f6bff6f5db4 /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | b4c9a3404a29fc52707b4e4d256081098eb1003a (diff) | |
Specify the display ID to mirror for media projection
In VirtualDisplayConfig, the default value of mDisplayIdToMirror is DEFAULT_DISPLAY. In order to make media projection work for
visible background users (running on secondary displays), this CL
passed the correct display ID when building VirtualDisplayConfig.
Bug: 365184692
Test: atest CtsMediaProjectionTestCases
Test: atest --user-type secondary_user CtsMediaProjectionTestCases
Test: atest --user-type secondary_user_on_secondary_display CtsMediaProjectionTestCases
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:74a7b94f78fd56c236be15995425ccf16bb67fdd)
Merged-In: I9b00b80a9a69643177054e7b2248fa40ddabb448
Change-Id: I9b00b80a9a69643177054e7b2248fa40ddabb448
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions