8f051ce5d49b5e320637a3299634ba3822aa10c0
Add a mirror/extend built-in display switch. Make minor changes to DisplayTopology.kt for consistency and correctness. Kotlin requires the two preference key names are different since they are in the same namespace, so fix the name in the existing DisplayTopology.kt module. Make DisplayTopologyPreference responsible, rather than the caller, for setting its persistence property, since a wrong value may cause unusual behavior. The setOrder calls are necessary to prevent the new switch from appearing below the Built-in display category when a display is hot-plugged in after showing the UI. We set them on all top-level preferences (not just the two we are fixing) for consistency. Flag: com.android.settings.flags.display_topology_pane_in_display_list Test: atest ExternalDisplayPreferenceFragmentTest.java Bug: b/352648432 Bug: b/366056921 Change-Id: Ib0072dd75066758903cc48c2d1e7142e1d921f67
Description
No description provided
Languages
Java
89.8%
Kotlin
10.2%