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

Commit e1f8fec3 authored by Tyler Lacey's avatar Tyler Lacey
Browse files

Add warning to GameSession#setTaskOverlayView's Javadoc.

Bug: 202414447
Bug: 202417255
Test: Documentation only
Change-Id: I595bebb9ffef3970929ebc0468f7864d15bd6873
parent f759b1eb
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -299,6 +299,8 @@ public abstract class GameSession {
     * {@code View} may not be cleared once set, but may be replaced by invoking
     * {@link #setTaskOverlayView(View, ViewGroup.LayoutParams)} again.
     *
     * <p><b>WARNING</b>: Callers <b>must</b> ensure that only trusted views are provided.
     *
     * @param view         The desired content to display.
     * @param layoutParams Layout parameters for the view.
     */