Merge "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."

This commit is contained in:
Pietro Maggi
2023-02-06 16:56:35 +00:00
committed by Android (Google) Code Review

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.