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
Loading
Please register or sign in to comment