Show built-in display if topology is visible

The topology in the External Displays list will include the built-in
display. For consistency, also show the built-in display along with the
connected displays, so there is a 1:1 correspondence between blocks in
the topology pane and display preference items.

Test: launch external display fragment with zero or one external display, verify built-in display item appears and opens Display settings if tapped
Flag: com.android.settings.flags.display_topology_pane_in_display_list
Bug: b/352648432
Change-Id: Id067034f6af5d0d6fe32f4a8091bc77d1ed75698
This commit is contained in:
Matthew DeVore
2024-11-26 00:31:22 +00:00
parent 0f7bf3062a
commit 4a3af3a735
3 changed files with 86 additions and 10 deletions

View File

@@ -2005,6 +2005,8 @@
<string name="external_display_off">Off</string>
<!-- External Display settings. The title of the screen. [CHAR LIMIT=40] -->
<string name="external_display_settings_title">External Display</string>
<!-- Built-in display settings category. Appears in External displays and Connected Displays fragments. -->
<string name="builtin_display_settings_category">Built-in display</string>
<!-- External Display use. The title of the use preference. [CHAR LIMIT=40] -->
<string name="external_display_use_title">Use external display</string>
<!-- External Display resolution settings. The title of the screen. [CHAR LIMIT=40] -->