Merge "Show topology pane detached from mirror toggle" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
ce85d2ea04
@@ -16,9 +16,10 @@
|
||||
|
||||
package com.android.settings.connecteddevice.display
|
||||
|
||||
import android.app.WallpaperManager
|
||||
import com.android.settings.R
|
||||
import com.android.settingslib.widget.GroupSectionDividerMixin
|
||||
|
||||
import android.app.WallpaperManager
|
||||
import android.content.Context
|
||||
import android.graphics.Bitmap
|
||||
import android.graphics.PointF
|
||||
@@ -45,7 +46,7 @@ import kotlin.math.abs
|
||||
* when there is one or more extended display attached.
|
||||
*/
|
||||
class DisplayTopologyPreference(context : Context)
|
||||
: Preference(context), ViewTreeObserver.OnGlobalLayoutListener {
|
||||
: Preference(context), ViewTreeObserver.OnGlobalLayoutListener, GroupSectionDividerMixin {
|
||||
@VisibleForTesting lateinit var mPaneContent : FrameLayout
|
||||
@VisibleForTesting lateinit var mPaneHolder : FrameLayout
|
||||
@VisibleForTesting lateinit var mTopologyHint : TextView
|
||||
@@ -82,6 +83,8 @@ class DisplayTopologyPreference(context : Context)
|
||||
|
||||
isPersistent = false
|
||||
|
||||
isCopyingEnabled = false
|
||||
|
||||
injector = Injector(context)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user