Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 810cb921 authored by Caitlin Cassidy's avatar Caitlin Cassidy
Browse files

[Media TTT] Update window title name.

Bug: 216318437
Test: compiles
Change-Id: Ice033aeb96fd88d2d7330c9669791a18c8b1888d
parent 2ccaf53c
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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"