How to create passenger display and how to create passenger in emulator

493 views
Skip to first unread message

yue xu

unread,
Jun 22, 2021, 7:02:43 PM6/22/21
to automotive...@android.com
see link https://i.stack.imgur.com/9czSO.png

We can have many displays for driver, passenger and instrument CLUSTER in emulator.  I made code change below in AOSP
<string-array translatable="false" name="config_occupant_zones">
<item>occupantZoneId=0,occupantType=DRIVER,seatRow=1,seatSide=driver</item>
<item>occupantZoneId=1,occupantType=FRONT_PASSENGER,seatRow=1,seatSide=oppositeDriver</item>
<item>occupantZoneId=2,occupantType=REAR_PASSENGER,seatRow=2,seatSide=left</item>
<item>occupantZoneId=3,occupantType=REAR_PASSENGER,seatRow=2,seatSide=right</item>
</string-array>

<string-array translatable="false" name="config_occupant_display_mapping">
<item>displayPort=0,displayType=MAIN,occupantZoneId=0</item> <!-- Newly added -->
<item>displayPort=1,displayType=INSTRUMENT_CLUSTER,occupantZoneId=0</item>
<item>displayPort=2,displayType=MAIN,occupantZoneId=1</item>
<item>displayPort=3,displayType=MAIN,occupantZoneId=2</item>
</string-array>

<bool name="enablePassengerSupport">true</bool>

what I got is driver display and instrument CLUSTER display.  I don't have passenger display. (I have built MultiDisplay app into binary as secondary launcher).

How to create passenger display and how to create passenger in emulator?

Thank you for your help.

Regards,
Jinlin

Reply all
Reply to author
Forward
0 new messages