[Media TTT] Update window title name.

Bug: 216318437
Test: compiles
Change-Id: Ice033aeb96fd88d2d7330c9669791a18c8b1888d
This commit is contained in:
Caitlin Cassidy
2022-02-03 16:38:31 +00:00
parent 2ccaf53cd7
commit 810cb92172

View File

@@ -47,7 +47,7 @@ abstract class MediaTttChipControllerCommon<T : MediaTttChipState>(
gravity = Gravity.TOP.or(Gravity.CENTER_HORIZONTAL)
type = WindowManager.LayoutParams.TYPE_VOLUME_OVERLAY
flags = WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL
title = "Media Tap-To-Transfer Chip View"
title = WINDOW_TITLE
format = PixelFormat.TRANSLUCENT
setTrustedOverlay()
}
@@ -106,3 +106,7 @@ abstract class MediaTttChipControllerCommon<T : MediaTttChipState>(
}
}
}
// Used in CTS tests UpdateMediaTapToTransferSenderDisplayTest and
// UpdateMediaTapToTransferReceiverDisplayTest
private const val WINDOW_TITLE = "Media Transfer Chip View"