Merge "external displays: mirror/extend switch" into main

This commit is contained in:
Matthew DeVore
2025-01-21 10:08:15 -08:00
committed by Android (Google) Code Review
5 changed files with 79 additions and 6 deletions

View File

@@ -166,7 +166,7 @@ class TopologyScale(
}
}
const val PREFERENCE_KEY = "display_topology_preference"
const val TOPOLOGY_PREFERENCE_KEY = "display_topology_preference"
/** Padding in pane coordinate pixels on each side of a display block. */
const val BLOCK_PADDING = 2f
@@ -229,7 +229,8 @@ class DisplayTopologyPreference(context : Context)
// Prevent highlight when hovering with mouse.
isSelectable = false
key = PREFERENCE_KEY
key = TOPOLOGY_PREFERENCE_KEY
isPersistent = false
injector = Injector(context)
}