Add warning to GameSession#setTaskOverlayView's Javadoc.
Bug: 202414447 Bug: 202417255 Test: Documentation only Change-Id: I595bebb9ffef3970929ebc0468f7864d15bd6873
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user