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

Skip to content
Commit 396c428f authored by Yabin Huang's avatar Yabin Huang Committed by Android Build Coastguard Worker
Browse files

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
parent b4c9a340
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