Specify the display ID to mirror when creating virtual display

In VirtualDisplayConfig, the default value of mDisplayIdToMirror is
DEFAULT_DISPLAY. In order to create virtual display for visible
background users (running on secondary displays), this CL passed the
correct display ID when creating virtual display.

Bug: 355529421
Test: atest CtsWindowManagerDeviceIme
Test: atest --user-type secondary_user CtsWindowManagerDeviceIme
Test: atest --user-type secondary_user_on_secondary_display CtsWindowManagerDeviceIme
Flag: EXEMPT bugfix

Change-Id: Ibdd39e598560c08bcaf6fa2846191b82bae1a8ab
1 file changed