docs: Update DISALLOW_CREATE_WINDOWS documentation so that it explains that windows besides app windows should not be created. This will block the creation of the following types of windows.

LayoutParams#TYPE_TOAST
LayoutParams#TYPE_APPLICATION_OVERLAY

Bug: 265840695
Change-Id: I12d36306aff17c3a289a0bd058a6e7a4d2217f22
Tests: built docs with go/abtd
This commit is contained in:
Pietro Maggi
2023-02-01 11:55:14 +00:00
parent c614b47a64
commit e0f2ad8911

View File

@@ -1069,11 +1069,6 @@ public class UserManager {
* Specifies that windows besides app windows should not be
* created. This will block the creation of the following types of windows.
* <li>{@link LayoutParams#TYPE_TOAST}</li>
* <li>{@link LayoutParams#TYPE_PHONE}</li>
* <li>{@link LayoutParams#TYPE_PRIORITY_PHONE}</li>
* <li>{@link LayoutParams#TYPE_SYSTEM_ALERT}</li>
* <li>{@link LayoutParams#TYPE_SYSTEM_ERROR}</li>
* <li>{@link LayoutParams#TYPE_SYSTEM_OVERLAY}</li>
* <li>{@link LayoutParams#TYPE_APPLICATION_OVERLAY}</li>
*
* <p>This can only be set by device owners and profile owners on the primary user.