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

Commit e46431db authored by Caitlin Cassidy's avatar Caitlin Cassidy Committed by Android (Google) Code Review
Browse files

Merge "[Media TTT] Update window title name."

parents dc5291eb 810cb921
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"