commit | 396c428fa1ce3808e3820b2bc539484cb3fbd8e7 | [log] [tgz] |
---|---|---|
author | Yabin Huang <yabinh@google.com> | Tue Sep 24 18:17:04 2024 -0700 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Oct 02 01:56:22 2024 +0000 |
tree | 61fb3b8c7f9031fb4204ef4654482f6bff6f5db4 | |
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