diff options
author | jschung <jschung@google.com> | 2023-04-30 12:53:11 +0900 |
---|---|---|
committer | jschung <jschung@google.com> | 2023-04-30 12:53:11 +0900 |
commit | 760f487340665ab45e2bb9353e6dabf819be25e9 (patch) | |
tree | 1d0529f77986bf237878720fe1575a8c7c106b74 | |
parent | ada5ee8b6ea61cf0770fdff764a325e958402abf (diff) | |
download | car-760f487340665ab45e2bb9353e6dabf819be25e9.tar.gz |
Show correct display ID in the multi window title.
Due to the different logic to create and manage the display ID in
Android and QEMU, it’s hard to find the correct display when we try to
run an activity on a specific window in the multi display emulator. We
will show the logical display id as the title of multi display window in
qemu. As the logical display id numbering would be based on the sequence
of display in display_layout_configuration.xml, we need to keep the same
sequence with EMULATOR_MULTIDISPLAY_HW_CONFIG and
EMULATOR_MULTIDISPLAY_BOOTANIM_CONFIG value in
device/generic/car/common/car_md.mk.
Bug: 257349071
Test: manual test with the relevant qemu change
Change-Id: I86f022cf623da43cd66a500cb1b930a943345bcc
-rw-r--r-- | emulator/multi-display/display_layout_configuration.xml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/emulator/multi-display/display_layout_configuration.xml b/emulator/multi-display/display_layout_configuration.xml index 8234575..37b1cc8 100644 --- a/emulator/multi-display/display_layout_configuration.xml +++ b/emulator/multi-display/display_layout_configuration.xml @@ -8,6 +8,10 @@ <address>4619827259835644672</address> </display> + <display enabled="true" defaultDisplay="false"> + <address>4619827551948147201</address> + </display> + <display enabled="true" defaultDisplay="false" displayGroup="passenger_display1"> <address>4619827124781842690</address> </display> @@ -16,8 +20,5 @@ <address>4619827540095559171</address> </display> - <display enabled="true" defaultDisplay="false"> - <address>4619827551948147201</address> - </display> </layout> </layouts> |